PyDistort
Table of Contents
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
Metadata
Release files for pydistort 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pydistort-0.0.2.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydistort-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.9 kB
Release files / pydistort-0.0.2.tar.gz
| Download URL | pydistort-0.0.2.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94ea502553128c712d08bec482c3f745486e0361cfa408a0ab0bc107a55bfd9b
|
|
BLAKE2b-256 checksum How to use checksums |
4d6cb3fd2ccf0b8625e3524b847581ec4c87ccc44ace3de0e456df5e172d1fc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.25.2
|
Release files / pydistort-0.0.2-py3-none-any.whl
| Download URL | pydistort-0.0.2-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
396fabebaf06cb31e97a6d6b9a7790a41164f2f93a7c3a11ed5207a5094edcd5
|
|
BLAKE2b-256 checksum How to use checksums |
3c079327cdacaf3892e50efb22e965def902d42bcd771e13a6808fecd64d28e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.25.2
|