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.
Metadata
Release files for repoze.bitblt 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| repoze.bitblt-0.3.tar.gz | 11.0 kB | Details |
Release files / repoze.bitblt-0.3.tar.gz
| Download URL | repoze.bitblt-0.3.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a92b69fa67a262539b5fb377733af2132cc9f4fcc79c49842d38c75e9c8b6d9e
|
|
BLAKE2b-256 checksum How to use checksums |
f2bf1b9957ba28a6b933703b78fc80a7744eab6a13a270838b86108782a2e7cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |