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 SOF3, JPEG LS, 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.30
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.30
Add JPEG 8-bit and 12-bit encoders. Improve color space handling in JPEG codecs.
- 2018.10.28
Rename jpeg0xc3 to jpegsof3. Add JPEG LS codec via libcharls. Fix missing alpha values in jxr_decode. Fix decoding JPEG SOF3 with multiple DHTs.
- 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 SOF3 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.30-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40a7a67dd4e7180231fc248d230cd9150fa0d72e207b10767df819e351dba178 |
|
MD5 | eb90cab1620ec0d2b2b95d9c20e319f0 |
|
BLAKE2b-256 | 87947b8b39307c760a94a12547adea90962867df0072fd021387845a8d36115f |
Hashes for imagecodecs-2018.10.30-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4a15026672dedd8430c2ef9ec0de0ef461ef7b038e8711af8b3e955b1804108 |
|
MD5 | f1292bd6cd329150d1a215285ee41deb |
|
BLAKE2b-256 | f24274584f8ef4bd593df40f21391d1d895721ca205e76ba3b1a7cd39a350029 |
Hashes for imagecodecs-2018.10.30-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0529bfd65217527e30b71f92f745be08619af038045f140b3b7431123f169bc5 |
|
MD5 | 89baed1660b9b22dc931bfffc9b18ed3 |
|
BLAKE2b-256 | efb51dc2866f4e64af774288fee864567f20aa125cf3ce801201716c32156d51 |
Hashes for imagecodecs-2018.10.30-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b53cd0d51d0de3d7e28dc4f1cc1a9cc0fa5a9118133ebd5b72b551e92241f9f |
|
MD5 | 4827acd4df44b3c53aaca9d7a93f3979 |
|
BLAKE2b-256 | d45fb91e3bd36d7fad2e3f0fdd9fd53b82c54d9b5f5112bd1510f88ed8870b94 |
Hashes for imagecodecs-2018.10.30-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1b7a3295419f86721a52fee40e2822e81a8c64bf9587745637acdcb49ee3166 |
|
MD5 | a2b681b36376cdc46317ad772d3274dc |
|
BLAKE2b-256 | 44cf99995163744015b8901546ed5fb687cd72ca49f736fd718440f00951edbe |
Hashes for imagecodecs-2018.10.30-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 819cc9806177aeda58f00c420a0c736c725729cceb9c479851324a7b85b8a73c |
|
MD5 | 0d1ead86cfc378f30427afd2126c063d |
|
BLAKE2b-256 | f52d4f8df36d62b8f9e56c5c2a03e5530580e8e3d4cf5f8d991e69f2a776cddb |
Hashes for imagecodecs-2018.10.30-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 449a9488fe0792c3184117dd2c84a6f42c6e5da7ed76a635f9dfd3d62240cb6a |
|
MD5 | 097dbf5163b4f1fe9d1b17822567cbcc |
|
BLAKE2b-256 | dded8cdf964cd77e20989c5dcd98e80efa169b21c7f1166a30dfa52d20c6d716 |
Hashes for imagecodecs-2018.10.30-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71cd39a8bf2984fc961a7116a29f6b4c7dc0ca399145a3985e13938645ea79db |
|
MD5 | 0226d795d02f6e12964e66fdf2bc6b00 |
|
BLAKE2b-256 | 565692874d22d185b3de53535389200f993e87ccc1d9780f142b997f0e727707 |
Hashes for imagecodecs-2018.10.30-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efa0678a0c015135379eab3813879be9290295a91579433f244bd46efdae3d3a |
|
MD5 | 2521886ef398265d78c856a3b8262af1 |
|
BLAKE2b-256 | 47c6025482664c89d8275ff31a4b39f08cd6bfb598e6c20ebe47d89fcbc5a2d3 |
Hashes for imagecodecs-2018.10.30-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 914dfd10dc2add49cfc5beeb114164d9568b49c461671c8af4393f15960a8d4d |
|
MD5 | 1ad6cdfb88a14f1e528512be8718575a |
|
BLAKE2b-256 | dcba71be7e0b24b2367543a3ec39434128daa8c9e3752890b1ff8830dddf65a0 |