An easy way to use anime4k in python
Project description
pyanime4k
pyanime4k is a simply package to use anime4k in python, easy, fast and powerful.
Usage
import pyanime4k
# Quickly show a image which be processed by anime4k
pyanime4k.showImg2X("p1.png")
# Convert images by anime4k
pyanime4k.cvtImg2X("p1.png")
pyanime4k.cvtImg2X(("p2.png","p3.png"),dstPath="./ouput")
# Convert videos by anime4k
pyanime4k.cvtVideo2X("p1.mp4")
# Manually
p = pyanime4k.Anime4K()
# Image processing
p.loadImage("p1.png")
# Show the infomation of processing
p.showInfo()
# start processing
p.process()
# Preview result
p.showImage()
# Save image
p.saveImage("p1_out.png")
#Video
p.loadVideo("p1.mp4")
# Video need specify the output file name in advance
p.setVideoSaveInfo("p1_out.mp4")
p.showInfo()
p.process()
p.saveVideo()
See the GitHub page of pyanime4k
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyanime4k-1.0.3.tar.gz
(16.9 MB
view hashes)
Built Distribution
Close
Hashes for pyanime4k-1.0.3-py38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23b1ec3f382489386ed14723763791420c25ef11752f6faecb12562ed1df10ed |
|
MD5 | 989188b6180ab3bbda2eee03d196f352 |
|
BLAKE2b-256 | 6933f8f7dba42bb92897babdb999338211fa807867f7e2539bb440bf802d3be8 |