Skip to main content

Image processing library for Python with animated GIFs support

Project description

Image processing library for Python with animated GIFs support

travis ci build status

Features

  • Info

  • Crop

  • Resize

  • Thumbnail

Requirements

Python 3.6+

Setup

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

Usage

from imgpy import ImgPy


# Load target image
im = ImgPy(fp='test.jpg')

# Thumbnail it to 100x100 size
im.thumbnail(size=(100, 100))

# Save
im.save(fp='thumb.jpg')

Tests

Run tests: py.test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imgpy-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

imgpy-0.1.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page