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.
Source Distribution
File details
Details for the file repoze.bitblt-0.3.tar.gz
.
File metadata
- Download URL: repoze.bitblt-0.3.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a92b69fa67a262539b5fb377733af2132cc9f4fcc79c49842d38c75e9c8b6d9e
|
|
MD5 |
6b42b775f28b0ea0892800943691f1e5
|
|
BLAKE2b-256 |
f2bf1b9957ba28a6b933703b78fc80a7744eab6a13a270838b86108782a2e7cb
|