Thumbnails for Django, Flask and other Python projects.
Project description
Thumbnails for Django, Flask and other Python projects.
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
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
python-thumbnails-0.5.1.tar.gz
(37.0 kB
view hashes)
Built Distribution
Close
Hashes for python_thumbnails-0.5.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9429f70539576d8b9cd2622d7cfeae648d2949abead3796a664297f5cae7e6f |
|
MD5 | df288aab4c8adc2c6a7547cb9bb40954 |
|
BLAKE2b-256 | 5940816bd2aabf20ff0c7217f1959a965f798f0b4cddc6b0788ce048b963339e |