Image processing library for Python with animated GIFs support
Project description
Image processing library for Python with animated GIFs support - proxy wrapper around Pillow library with simple usable interface and access to each frame.
Features
Info (attributes):
format
width
height
mode
mode_desc
n_frames
animated
frames
Methods:
Requirements
Python 3.5+
Pillow 4.1.1+
Setup
python-3.6 -m venv .env
source .env/bin/activate
pip install imgpy
Usage
from imgpy import Img
# Create thumbnail image
with Img(fp='test.gif') as im:
im.thumbnail(size=(100, 100))
im.save(fp='thumb.gif')
Tests
Run tests: py.test
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
imgpy-1.0.0.tar.gz
(3.6 kB
view hashes)
Built Distribution
imgpy-1.0.0-py3-none-any.whl
(4.5 kB
view hashes)