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 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:

Christoph Gohlke

Organization:

Laboratory for Fluorescence Dynamics. University of California, Irvine

Version:

2018.11.8

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.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

imagecodecs-2018.11.8.tar.gz (2.9 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

imagecodecs-2018.11.8-cp37-cp37m-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.7mWindows x86-64

imagecodecs-2018.11.8-cp37-cp37m-win32.whl (1.3 MB view details)

Uploaded CPython 3.7mWindows x86

imagecodecs-2018.11.8-cp36-cp36m-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.6mWindows x86-64

imagecodecs-2018.11.8-cp36-cp36m-win32.whl (1.3 MB view details)

Uploaded CPython 3.6mWindows x86

imagecodecs-2018.11.8-cp35-cp35m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.5mWindows x86-64

imagecodecs-2018.11.8-cp35-cp35m-win32.whl (1.3 MB view details)

Uploaded CPython 3.5mWindows x86

imagecodecs-2018.11.8-cp34-cp34m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.4mWindows x86-64

imagecodecs-2018.11.8-cp34-cp34m-win32.whl (1.1 MB view details)

Uploaded CPython 3.4mWindows x86

imagecodecs-2018.11.8-cp27-cp27m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.7mWindows x86-64

imagecodecs-2018.11.8-cp27-cp27m-win32.whl (1.2 MB view details)

Uploaded CPython 2.7mWindows x86

File details

Details for the file imagecodecs-2018.11.8.tar.gz.

File metadata

  • Download URL: imagecodecs-2018.11.8.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for imagecodecs-2018.11.8.tar.gz
Algorithm Hash digest
SHA256 20f70b7ba7b45a2bb8aa06734a7aafdf4b22462515cf5a7473c3dcd0707d01bc
MD5 d1ee05522f82a45d4938771c422afe17
BLAKE2b-256 9611b1c569a913e994b2a9043e61263c20005a51a68b5d8f85028af123cfa79b

See more details on using hashes here.

File details

Details for the file imagecodecs-2018.11.8-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: imagecodecs-2018.11.8-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for imagecodecs-2018.11.8-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9dffc8327792f72f6dfedb1109493e1aa7f1a7be1f1593dc8f655a9179af06b8
MD5 79a4386e5cbd2c418b8f1037a2ebd613
BLAKE2b-256 e60068ef82e761ca5642c9dc354980ad66d56e8abe748179adcd676a9f4f2ea2

See more details on using hashes here.

File details

Details for the file imagecodecs-2018.11.8-cp37-cp37m-win32.whl.

File metadata

  • Download URL: imagecodecs-2018.11.8-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for imagecodecs-2018.11.8-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 b55423c2279749f60e783e214d138d9dfa5cab7bfe741929348bed52ee19cf49
MD5 57a50cf5739053a672b1d9a73a46c0c5
BLAKE2b-256 79c56313348c456594050f14e8bff24f131f46eadde7a45c1651c6d83d23072c

See more details on using hashes here.

File details

Details for the file imagecodecs-2018.11.8-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: imagecodecs-2018.11.8-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for imagecodecs-2018.11.8-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 31ad86ee7738098a905932e49218513a7c9383c5646875ef445e0ca9e469d1da
MD5 5083ed9a75789cbcebae0df18cf4b8c6
BLAKE2b-256 62d2f83bd5a9653b9a2003ea6e2c48f1273fd2041206cf47e7b151d65f2ae1b0

See more details on using hashes here.

File details

Details for the file imagecodecs-2018.11.8-cp36-cp36m-win32.whl.

File metadata

  • Download URL: imagecodecs-2018.11.8-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for imagecodecs-2018.11.8-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 cebd0f861c968159990c33f45fa3482e19293fe68c49041dc8da8c4a89fd5eb3
MD5 5aa0b6f985962401f26b53b34f540d3a
BLAKE2b-256 a2ab9ebfe457f59165c967d08047a0d01f704b7b9dae9eaee61f212568bb2d40

See more details on using hashes here.

File details

Details for the file imagecodecs-2018.11.8-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: imagecodecs-2018.11.8-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for imagecodecs-2018.11.8-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 26a9c3a4bf364eadd66d1aba74a252dd89a2d795f59c26c65912df1e2eab3976
MD5 c3e915eac65aae4cf1f2e47f799ee969
BLAKE2b-256 b7f46ea1a8541eae324ae44589d91c95c3efa17e28a0deed2451cdea7098fe80

See more details on using hashes here.

File details

Details for the file imagecodecs-2018.11.8-cp35-cp35m-win32.whl.

File metadata

  • Download URL: imagecodecs-2018.11.8-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for imagecodecs-2018.11.8-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 57a83e03c68777f9fef6f5a94a0a9ec1c8ece1aa09c0031947587a2ecb760401
MD5 cffa8f060369165d20420c0ab24aac62
BLAKE2b-256 42a07c67fa5f418556d51785a59b370dd7d6af635b46ffd239c0aa146f519791

See more details on using hashes here.

File details

Details for the file imagecodecs-2018.11.8-cp34-cp34m-win_amd64.whl.

File metadata

  • Download URL: imagecodecs-2018.11.8-cp34-cp34m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.4m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for imagecodecs-2018.11.8-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 1de7318a79d310d506005181d2eefc9c12ad92c87b5d9b1b3104034638c4cb70
MD5 0d0fddfb0e4d49eb8987dd33f4de0179
BLAKE2b-256 11cb574a983b8c2c06a83a5a968924d1306f8f3f6655544e073a4016812bbaf9

See more details on using hashes here.

File details

Details for the file imagecodecs-2018.11.8-cp34-cp34m-win32.whl.

File metadata

  • Download URL: imagecodecs-2018.11.8-cp34-cp34m-win32.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.4m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for imagecodecs-2018.11.8-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 f2092097c647bd2a9a1621caadeab195a8eb6a04ea8cdfd457390f89084195e3
MD5 e67ff19549e726004bdf8e7b108f8ef3
BLAKE2b-256 aeb4cda2a972c94c1f48151a190ebd26698681a26f118dcf07859001059c46f1

See more details on using hashes here.

File details

Details for the file imagecodecs-2018.11.8-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: imagecodecs-2018.11.8-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for imagecodecs-2018.11.8-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 0a2155d7c729de480c91e77d33b49a6cfacd028e16178ae05a148b8eade1876e
MD5 ac2ab1243fe8528ee6e126b1a276232d
BLAKE2b-256 ec67b748ed3d21f0cda834228f497f766fa80a8c07024db75ddb09af3ef2097a

See more details on using hashes here.

File details

Details for the file imagecodecs-2018.11.8-cp27-cp27m-win32.whl.

File metadata

  • Download URL: imagecodecs-2018.11.8-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for imagecodecs-2018.11.8-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 ebcca86167d4622fe6950e024380c649cb103ae21154dac649baf80bdec0df47
MD5 aa29701a0a0d3f624999be8631b9ebda
BLAKE2b-256 5cc5e26c458ca379701d11aa21198b25f5c5989a296e985b767e478930e4bb68

See more details on using hashes here.

Supported by

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