pydistort 0.0.2

Creator: bradpython12

Last updated:

Add to Cart

Description:

pydistort 0.0.2

PyDistort




Table of Contents

Installation
License
Usage

Installation
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
Linux (Ubuntu)
sudo apt install imagemagick

Windows
You can do this via scoop.sh
scoop install imagemagick

For video, gif and apng procession, you need to install ffmpeg
Linux (Ubuntu)
sudo apt install ffmpeg

Windows
You can do this via scoop.sh
scoop install ffmpeg

For lottie->gif procession you need to install gtk
Linux (Ubuntu)
sudo apt install libgtk-3-0

Windows
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"

License
pydistort is distributed under the terms of the MIT license.
Usage
from pydistort.image.seam_carving import distort

await distort('image.png', 60)

TODO for 0.1.0 release

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.