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.

Files for python-thumbnails, version 0.5.1
Filename, size File type Python version Upload date Hashes
Filename, size python_thumbnails-0.5.1-py2.py3-none-any.whl (46.8 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size python-thumbnails-0.5.1.tar.gz (37.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page