Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/python-thumbnails/python-thumbnails

Thumbnails for Django, Flask and other Python projects. :rainbow:
https://github.com/python-thumbnails/python-thumbnails

django python thumbnails

Last synced: 18 days ago
JSON representation

Thumbnails for Django, Flask and other Python projects. :rainbow:

Awesome Lists containing this project

README

        

# python-thumbnails [![Build status](https://ci.frigg.io/badges/relekang/python-thumbnails/)](https://ci.frigg.io/relekang/python-thumbnails/last/) [![Coverage status](https://ci.frigg.io/badges/coverage/relekang/python-thumbnails/)](https://ci.frigg.io/relekang/python-thumbnails/last/)

Thumbnails for Django, Flask and other Python projects.

[![Documentation Status](https://readthedocs.org/projects/python-thumbnails/badge/?version=latest)](https://readthedocs.org/projects/python-thumbnails/?badge=latest)
[![Join the chat at https://gitter.im/relekang/python-thumbnails](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/relekang/python-thumbnails?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

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

## Usage

```python
from thumbnails import get_thumbnail

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

----------------------

MIT © Rolf Erik Lekang