Table of Contents
pip install pydistort
Dev build
# without optional dependencies:
pip install -U git+https://github.com/barsikus007/pydistort
# with optional dependencies:
pip install -U "pydistort[all]@ git+https://github.com/barsikus007/pydistort"
For distortion, you need to install imagemagick
sudo apt install imagemagick
You can do this via scoop.sh
scoop install imagemagick
For video, gif and apng procession, you need to install ffmpeg
sudo apt install ffmpeg
You can do this via scoop.sh
scoop install ffmpeg
For lottie->gif procession you need to install gtk
sudo apt install libgtk-3-0
You can do this via scoop.sh
scoop install msys2
msys2 # then exit in msys shell
msys2 -c "pacman -S mingw-w64-x86_64-gtk3 --noconfirm"
pydistort
is distributed under the terms of the MIT license.
from pydistort.image.seam_carving import distort
await distort('image.png', 60)
- Write readme
- Rewrite seam carving
- Rewrite seam carving py
- Maybe rewrite to Glaxnimate
- Add ffmpeg commands
- lottie -p parameter
- https://github.com/bodqhrohro/giftolottie
- https://github.com/bunkahle/gif2numpy
- os.remove to unlink