Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

python-thumbnails/python-thumbnails

Repository files navigation

python-thumbnails Build status Coverage status

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