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.28
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.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.28-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36e8cf61d37617272b305906fc09fab27f74228f08a1f601eb38c67bce893d06 |
|
MD5 | 111cb26758b05f366f3b8c4de98219f0 |
|
BLAKE2b-256 | 0195429991a2f9d559b50d257f272f0243ab9eb0acc604fb5e15bf7eedb618e3 |
Hashes for imagecodecs-2018.10.28-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f4afa85bc4b45354e668c4a45f4c7e002c7f01722d35c709af26dd01c7d0e9c |
|
MD5 | ef9742984d999fa958106de34f92c161 |
|
BLAKE2b-256 | ac3e89b7a60aaa4bddc452c579ad051cb7a6ec0d18792f654165c43bdaa748c7 |
Hashes for imagecodecs-2018.10.28-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d90217e47f9c8d6dbb9f4e74d9bd97d50529630df868d0e628126cc406008d1 |
|
MD5 | bf18aa5bdcb4c15cff72f29caeba5a3d |
|
BLAKE2b-256 | fb8f1a27b80d1c7b500b129c9ec696e4575065137442b736b383cc4a25cc4493 |
Hashes for imagecodecs-2018.10.28-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fe6ce5b9ea5aca981576e2b6c8266c2dc07d1eefc1cdb9c8222c4c264d76b19 |
|
MD5 | e0b9f7f8934ec320dee69b16775f8426 |
|
BLAKE2b-256 | c0a73c0d5195cccc186459e0eb5bcbff61e54f7f5bf069e6c46fe696a8c2e818 |
Hashes for imagecodecs-2018.10.28-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f49cb807f17984523b10ca0696e6a0bcd4bed7a486c99a1ee72aabf1faccbb3 |
|
MD5 | 02efaf015cb9d10940d0995151852bbe |
|
BLAKE2b-256 | 42e85b5250fbc08ac64f11cf42f84005a69e09d5ab307df49decd78f35a82993 |
Hashes for imagecodecs-2018.10.28-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 498b4a93eda8882d52ba462b74a930f6857d2a891c4d60e9126a75ab7f0dc52d |
|
MD5 | 6bd962cf7b8ccc787c4dbc5347db216b |
|
BLAKE2b-256 | 9f290b58d4e662ff726f2fe9e068bc1a9ae290f891b6bba5da4462bf652ad56b |
Hashes for imagecodecs-2018.10.28-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b1c5f42eadf68f7f0924ec0ad7efd6bdfdded463c8f693f2438d1db619320a3 |
|
MD5 | b457dc56734e86f9546b2b7fa81cc418 |
|
BLAKE2b-256 | 280bdc9e1ceb048beda0e17e1f26babd3552b0c911c7eecf0b26d73587acb345 |
Hashes for imagecodecs-2018.10.28-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25b02e89aae77310f1d8fa1ae804502e7acfff1b0927242a5975b205a4312dc2 |
|
MD5 | 9a8ff193daf6532c812886ddc27abbed |
|
BLAKE2b-256 | e55259430dea5542cb7c4bc40fdc8b2e734a1499a398afa876d1e8f120b629aa |
Hashes for imagecodecs-2018.10.28-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c329f97e3bae5dc0dab3f301a23ebc9f6f6cd5bb977bfdb666ca3dbe77726ed |
|
MD5 | 274df882a6879086b0900a255462f996 |
|
BLAKE2b-256 | a11a7a95e4396d6d6753b21980a7114e1a1145641e35c4895086d0ac2b29cd80 |
Hashes for imagecodecs-2018.10.28-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccce5fc4f8a2e7ba247053a79dba5b67deddfa8aff3e37b739a820518922c0cc |
|
MD5 | 4771d5b398905201e92e7da57af94a54 |
|
BLAKE2b-256 | a982a4d7987223ebb3d5c7da38be4fe8814a97af3fa83a93a0660c14665528c4 |