skip to navigation
skip to content

imgpy 1.1.0

Image processing library for Python with animated GIFs support

Image processing library for Python with animated GIFs support - proxy wrapper around Pillow library with simple usable interface and access to each frame.



  • info
  • exif - dict with EXIF tags and GPS dict with GPS tags if presented
  • format
  • size
  • width
  • height
  • mode
  • mode_desc - image mode description
  • frame_count - frame count
  • animated - flag, which shows if image is animated
  • frames - frame list


  • convert
  • crop
  • filter
  • paste
  • resize
  • rotate
  • thumbnail
  • transform
  • transpose
  • load - gets called when you access frames attribute for the first time or call any processing or save method, call this method explicitly to load all or limited number of frames (first n frames or random n frames without reordering)
  • save - save image
  • close - close image


  • Python 3.5+
  • Pillow 4.1.1+


python-3.6 -m venv .env
source .env/bin/activate
pip install imgpy


from imgpy import Img

# Crop image
with Img(fp='test.gif') as im:
    im.crop(box=(10, 10, 110, 110))'crop.gif')

# Create thumbnail image
with Img(fp='test.gif') as im:
    im.thumbnail(size=(100, 100))'thumb.gif')

# Save 10 random GIF frames
with Img(fp='test.gif') as im:
    im.load(limit=10, first=False)'random.gif')


Run tests: py.test

File Type Py Version Uploaded on Size
imgpy-1.1.0-py3-none-any.whl (md5) Python Wheel 3.6 2017-05-14 5KB
imgpy-1.1.0.tar.gz (md5) Source 2017-05-14 4KB