PIL-like interface for system imaging libraries
Project description
This is an experiment in seeing how far you can get using platform-provided packages such as GraphicsMagick, CoreImage, etc. to provide a PIL-like interface but taking advantage of their support for more advanced features such as threading, broader format support (including JPEG-2000), vectorization, etc.
The goal is simple: a user should be able to install NativeImaging and do something like this to a program which is currently using PIL:
from NativeImaging import get_image_class Image = get_image_class("GraphicsMagick")
Status
aware and aware_cext
Very fast JPEG 2000 thumbnail generation compared to GraphicsMagick. Requires the non-OSS AWARE library: http://www.aware.com/imaging/jpeg2000.htm
GraphicsMagick
Currently supports typical web application usage: loading an image, resizing it and saving the result. Testing reveals mixed results, beating PIL when producing thumbnails from large TIFFs and underperforming when thumbnailing equivalent JPEGs, both by about 2:1.
Jython
Currently supports basic usage: loading an image, resizing it, and saving the result. Performance is generally quite decent as the Java Advanced Imaging API is quite tuned, if somewhat baroque in design.
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 NativeImaging-0.0.5.tar.gz
.
File metadata
- Download URL: NativeImaging-0.0.5.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2baf7de632dc71203f8163dd82d9e96db9059e6484e0d3f0d429c1af39006e87 |
|
MD5 | b045529ec1b139c55dfd0be680160673 |
|
BLAKE2b-256 | 41f53ad5544bb53d13cfdbe040d30827bd7755d3c0816925d72b6d56c77a58f5 |