Thumbnails for Django, Flask and other Python projects.
Project description
Thumbnails for Django, Flask and other Python projects.
Work in progress
This project is currently work in progress. It is not production ready. This gist outlines the planned features and the status of them.
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.4.1.tar.gz
(36.0 kB
view hashes)
Built Distribution
Close
Hashes for python_thumbnails-0.4.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e71d3dc5c317857ffa8c48269ae3de15fdc62adacab8ac71d7f5b8044f91cef |
|
MD5 | 84e6a32cbe26e4b70d40e1e094f3f72e |
|
BLAKE2b-256 | 4ead61b2987a7386bf73db3d25aa9b109931a582eb923a1770dde45884c4f36a |