Image transformation, compression, and decompression codecs
Project description
Imagecodecs is a Python library that provides block-oriented, in-memory buffer transformation, compression, and decompression functions for use in the tifffile, czifile, and other Python scientific imaging modules.
Decode and/or encode functions are currently implemented for Zlib DEFLATE, ZStandard, Blosc, LZMA, BZ2, LZ4, LZW, LZF, PNG, WebP, JPEG 8-bit, JPEG 12-bit, JPEG SOF=0xC3, JPEG 2000, JPEG XR, PackBits, Packed Integers, Delta, XOR Delta, Floating Point Predictor, and Bitorder reversal.
- Author:
- Organization:
Laboratory for Fluorescence Dynamics. University of California, Irvine
- Version:
2018.10.22
Requirements
libjpeg-turbo 2.0 (8 and 12-bit)
A Python distutils compatible C compiler
Notes
Imagecodecs is currently developed, built, and tested on Windows only.
The API is not stable yet and might change between revisions.
Works on little-endian platforms only.
Python 2.7 and 3.4 are deprecated.
Refer to the imagecodecs/licenses folder for 3rd party library licenses.
This software is based in part on the work of the Independent JPEG Group.
This software includes a modified version of jpg_0XC3.cpp.
Other Python packages providing imaging or compression codecs:
Revisions
- 2018.10.22
Add Blosc codecs via libblosc.
- 2018.10.21
Builds on Ubuntu 18.04 WSL. Include liblzf in srcdist. Do not require CreateDecoderFromBytes patch to jxrlib.
- 2018.10.18
Improve jpeg_decode wrapper.
- 2018.10.17
Add JPEG SOF=0xC3 decoder based on jpg_0XC3.cpp.
- 2018.10.10
Add PNG codecs via libpng. Add option to specify output colorspace in JPEG decoder. Fix Delta codec for floating point numbers. Fix XOR Delta codecs.
- 2018.9.30
Add LZF codecs via liblzf.
- 2018.9.22
Add WebP codecs via libwebp.
- 2018.8.29
Pass 396 tests. Add PackBits encoder.
- 2018.8.22
Add link library version information. Add option to specify size of LZW buffer. Add JPEG 2000 decoder via openjpeg. Add XOR Delta codec.
- 2018.8.16
Link to libjpeg-turbo. Support Python 2.7 and Visual Studio 2008.
- 2018.8.10
Initial alpha release. Add LZW, PackBits, PackInts and FloatPred decoders from tifffile.c module. Add JPEG and JPEG XR decoders from czifile.pyx module.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for imagecodecs-2018.10.22-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a63bc0fff0760aed6d59b2f4d05bf9a9bdeedf4f6cc1689b285768404db7d36f |
|
MD5 | f451de25409b1300792156124e6ce763 |
|
BLAKE2b-256 | 3eb9482daad103c213f908f9234ab47ebe1a6cb3d09d9d0086f5c911d914de65 |
Hashes for imagecodecs-2018.10.22-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5a3739b9279758273d398bf12a3f06cf13366cd42a9814b2376414697632907 |
|
MD5 | 128a5af2628bbe674ed8c26f20c06453 |
|
BLAKE2b-256 | a2be9b53faa3b2c7542c0a77f4addc25cc4d15f962bcd3a118535a4fead5980b |
Hashes for imagecodecs-2018.10.22-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f1af9901fec448876ab3e12188a61afe793a5754d2f1f151bab220b827232e0 |
|
MD5 | 0c9c32cf07eb871d3e2a6afeb95b47a5 |
|
BLAKE2b-256 | 6c5499c09129d308bc22814e7fbc457fb923a8ee6ec4242ff566477c353923ea |
Hashes for imagecodecs-2018.10.22-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fab1afd3d0f761a9ec24f6ed75738e0eaccd4bbab42b05d9288e7c6ffdbe4b5 |
|
MD5 | 01dac04d5637e87e1edf90c740eedb06 |
|
BLAKE2b-256 | 51f61cb54178ef1ca0f84ff126477c75b8f505224fb4e40841376198568647bc |
Hashes for imagecodecs-2018.10.22-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccc3239b83d50124693fa1fff8bbbad0f65573246a670b39c588e3a089e64944 |
|
MD5 | 3287cf4698263be9a42feff7cef75392 |
|
BLAKE2b-256 | 7fd08d11531e08438e24d690e8ddb857b45576a92d8dc9b8c7f9a9bd58479be3 |
Hashes for imagecodecs-2018.10.22-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b9af8237fb912145c195cf6d5dd157e20fc4a3fc368ea2b1fb6cd29c0820982 |
|
MD5 | 955402d21bc5bd2ed24563029a2ee38c |
|
BLAKE2b-256 | 0d4ba88ade9df24436b8b11165a6f1856001b91e9880af45ce77598a2f648813 |
Hashes for imagecodecs-2018.10.22-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31bf7ae20c67b3bf6b91be03b013ef7a679c3bb86fcf13c709420832b5a01074 |
|
MD5 | e38cba7148e2dfbbcd94089ed3c880e7 |
|
BLAKE2b-256 | e22bfcb2975b1a04713cc0d47fb2ebaaa500deff72a9e42e9289fdaa5139f257 |
Hashes for imagecodecs-2018.10.22-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5950ce6d924ba254eedf4c0ed1a8b85824920564a0d76b4414a250d5c81f8f76 |
|
MD5 | 11af90b6ec90b9aa500142b7c2d84335 |
|
BLAKE2b-256 | bf6b3893bbbf7972137e8cc5ca7bb5d409b1a8d69803ef00e9c9fc9a1399609e |
Hashes for imagecodecs-2018.10.22-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e76f4dff47cf62c1bb6eed1393136b0eb41f7429a3a12e3d2635affab9b5dd93 |
|
MD5 | a9b56cc46f1c24b9afd0fd5a9124c363 |
|
BLAKE2b-256 | 2413fad65f41770fd4b04d71fabed60f58694ef5482d062af7d9bda5ce5e8101 |
Hashes for imagecodecs-2018.10.22-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe42b72f7656b58b688dd70eb59bf73fec129a85fa720f817e2ead0bce653be3 |
|
MD5 | 7d8a90e0b3da23c5593809e90c3cf71b |
|
BLAKE2b-256 | 26e612c9fe3f0df8f52fe3304e32fe081af417d6073dd17d30322d6d703ded6d |