Skip to main content

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:

Christoph Gohlke

Organization:

Laboratory for Fluorescence Dynamics. University of California, Irvine

Version:

2018.10.22

Requirements

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imagecodecs-2018.10.22.tar.gz (2.0 MB view hashes)

Uploaded Source

Built Distributions

imagecodecs-2018.10.22-cp37-cp37m-win_amd64.whl (1.3 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

imagecodecs-2018.10.22-cp37-cp37m-win32.whl (1.1 MB view hashes)

Uploaded CPython 3.7m Windows x86

imagecodecs-2018.10.22-cp36-cp36m-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

imagecodecs-2018.10.22-cp36-cp36m-win32.whl (1.1 MB view hashes)

Uploaded CPython 3.6m Windows x86

imagecodecs-2018.10.22-cp35-cp35m-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.5m Windows x86-64

imagecodecs-2018.10.22-cp35-cp35m-win32.whl (1.1 MB view hashes)

Uploaded CPython 3.5m Windows x86

imagecodecs-2018.10.22-cp34-cp34m-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.4m Windows x86-64

imagecodecs-2018.10.22-cp34-cp34m-win32.whl (1.1 MB view hashes)

Uploaded CPython 3.4m Windows x86

imagecodecs-2018.10.22-cp27-cp27m-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 2.7m Windows x86-64

imagecodecs-2018.10.22-cp27-cp27m-win32.whl (1.1 MB view hashes)

Uploaded CPython 2.7m Windows x86

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page