Skip to main content

Thumbnails for Django, Flask and other Python projects.

Project description

Thumbnails for Django, Flask and other Python projects.

Documentation Status Join the chat at https://gitter.im/relekang/python-thumbnails

Install

pip install pillow  # default image engine, not necessary if another engine is used
pip install python-thumbnails

Usage

from thumbnails import get_thumbnail

get_thumbnail('path/to/image.png', '300x300', crop='center')

MIT © Rolf Erik Lekang

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

python-thumbnails-0.5.1.tar.gz (37.0 kB view hashes)

Uploaded Source

Built Distribution

python_thumbnails-0.5.1-py2.py3-none-any.whl (46.8 kB view hashes)

Uploaded Python 2 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