Image transforming WSGI middleware
Project description
This package provides a WSGI middleware component which transforms and converts image streams using PIL.
Usage
The middleware responds to the following URL parameters:
@width Width @height Height @mimetype MIME-type @quality Image quality (default is 80)
Example:
http://host/path/to/images/foo.jpg?width=640&height=480&mimetype=image/png
Note that in a real-world setup, you’d want to put a caching proxy in front of your application.
Future plans
Support video transcoding.
Credits
Malthe Borch <mborch@gmail.com> and Stefan Eletzhofer <stefan.eletzhofer@inquant.de>
Changelog
Head
0.3 (released 2008-10-10)
Made logic robust to unexpected parameters. [malthe]
Fixed bug where parameters would be drawn from the WSGI environment. [malthe]
Added mimetype conversion. [malthe]
0.2 (released 2008-10-08)
Fixed entry point name.
0.1 (released 2008-10-03)
Initial release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.