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 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.11.8
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.11.8
Pass 1323 tests. Decode LSB style LZW. Fix last byte not written by LZW decoder (bug fix). Permit unknown colorspaces in JPEC codecs (e.g. CFA used in TIFF).
- 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.11.8-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dffc8327792f72f6dfedb1109493e1aa7f1a7be1f1593dc8f655a9179af06b8 |
|
MD5 | 79a4386e5cbd2c418b8f1037a2ebd613 |
|
BLAKE2b-256 | e60068ef82e761ca5642c9dc354980ad66d56e8abe748179adcd676a9f4f2ea2 |
Hashes for imagecodecs-2018.11.8-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b55423c2279749f60e783e214d138d9dfa5cab7bfe741929348bed52ee19cf49 |
|
MD5 | 57a50cf5739053a672b1d9a73a46c0c5 |
|
BLAKE2b-256 | 79c56313348c456594050f14e8bff24f131f46eadde7a45c1651c6d83d23072c |
Hashes for imagecodecs-2018.11.8-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31ad86ee7738098a905932e49218513a7c9383c5646875ef445e0ca9e469d1da |
|
MD5 | 5083ed9a75789cbcebae0df18cf4b8c6 |
|
BLAKE2b-256 | 62d2f83bd5a9653b9a2003ea6e2c48f1273fd2041206cf47e7b151d65f2ae1b0 |
Hashes for imagecodecs-2018.11.8-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cebd0f861c968159990c33f45fa3482e19293fe68c49041dc8da8c4a89fd5eb3 |
|
MD5 | 5aa0b6f985962401f26b53b34f540d3a |
|
BLAKE2b-256 | a2ab9ebfe457f59165c967d08047a0d01f704b7b9dae9eaee61f212568bb2d40 |
Hashes for imagecodecs-2018.11.8-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26a9c3a4bf364eadd66d1aba74a252dd89a2d795f59c26c65912df1e2eab3976 |
|
MD5 | c3e915eac65aae4cf1f2e47f799ee969 |
|
BLAKE2b-256 | b7f46ea1a8541eae324ae44589d91c95c3efa17e28a0deed2451cdea7098fe80 |
Hashes for imagecodecs-2018.11.8-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57a83e03c68777f9fef6f5a94a0a9ec1c8ece1aa09c0031947587a2ecb760401 |
|
MD5 | cffa8f060369165d20420c0ab24aac62 |
|
BLAKE2b-256 | 42a07c67fa5f418556d51785a59b370dd7d6af635b46ffd239c0aa146f519791 |
Hashes for imagecodecs-2018.11.8-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1de7318a79d310d506005181d2eefc9c12ad92c87b5d9b1b3104034638c4cb70 |
|
MD5 | 0d0fddfb0e4d49eb8987dd33f4de0179 |
|
BLAKE2b-256 | 11cb574a983b8c2c06a83a5a968924d1306f8f3f6655544e073a4016812bbaf9 |
Hashes for imagecodecs-2018.11.8-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2092097c647bd2a9a1621caadeab195a8eb6a04ea8cdfd457390f89084195e3 |
|
MD5 | e67ff19549e726004bdf8e7b108f8ef3 |
|
BLAKE2b-256 | aeb4cda2a972c94c1f48151a190ebd26698681a26f118dcf07859001059c46f1 |
Hashes for imagecodecs-2018.11.8-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a2155d7c729de480c91e77d33b49a6cfacd028e16178ae05a148b8eade1876e |
|
MD5 | ac2ab1243fe8528ee6e126b1a276232d |
|
BLAKE2b-256 | ec67b748ed3d21f0cda834228f497f766fa80a8c07024db75ddb09af3ef2097a |
Hashes for imagecodecs-2018.11.8-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebcca86167d4622fe6950e024380c649cb103ae21154dac649baf80bdec0df47 |
|
MD5 | aa29701a0a0d3f624999be8631b9ebda |
|
BLAKE2b-256 | 5cc5e26c458ca379701d11aa21198b25f5c5989a296e985b767e478930e4bb68 |