@@ -6,20 +6,20 @@ transformation, compression, and decompression functions for use in Tifffile,
6
6
Czifile, Zarr, kerchunk, and other scientific image input/output packages.
7
7
8
8
Decode and/or encode functions are implemented for Zlib (DEFLATE), GZIP,
9
- ZStandard (ZSTD), Blosc, Brotli, Snappy, LZMA, BZ2, LZ4, LZ4F, LZ4HC, LZW ,
10
- LZF, LZFSE, LZHAM, PGLZ (PostgreSQL LZ), RCOMP (Rice), ZFP, AEC, SZIP, LERC ,
11
- EER, NPY, BCn, DDS, PNG, APNG, GIF, TIFF, WebP, QOI, JPEG 8-bit, JPEG 12-bit,
9
+ ZStandard (ZSTD), Blosc, Brotli, Snappy, LZMA, BZ2, LZ4, LZ4F, LZ4HC, LZ4H5 ,
10
+ LZW, LZF, LZFSE, LZHAM, PGLZ (PostgreSQL LZ), RCOMP (Rice), ZFP, AEC, SZIP,
11
+ LERC, EER, NPY, BCn, DDS, PNG, APNG, GIF, TIFF, WebP, QOI, JPEG 8 and 12-bit,
12
12
Lossless JPEG (LJPEG, LJ92, JPEGLL), JPEG 2000 (JP2, J2K), JPEG LS, JPEG XL,
13
13
JPEG XR (WDP, HD Photo), MOZJPEG, AVIF, HEIF, RGBE (HDR), Jetraw, PackBits,
14
14
Packed Integers, Delta, XOR Delta, Floating Point Predictor, Bitorder reversal,
15
- Byteshuffle, Bitshuffle, CMS (color space transformations), and Float24
16
- (24-bit floating point).
15
+ Byteshuffle, Bitshuffle, Quantize (Scale, BitGroom, BitRound, GranularBR),
16
+ Float24 (24-bit floating point), and CMS (color space transformations ).
17
17
Checksum functions are implemented for crc32, adler32, fletcher32, and
18
18
Jenkins lookup3.
19
19
20
20
:Author: `Christoph Gohlke <https://www.cgohlke.com >`_
21
21
:License: BSD 3-Clause
22
- :Version: 2023.8.12
22
+ :Version: 2023.9.4
23
23
:DOI: `10.5281/zenodo.6915978 <https://doi.org/10.5281/zenodo.6915978 >`_
24
24
25
25
Quickstart
@@ -56,23 +56,23 @@ This revision was tested with the following requirements and dependencies
56
56
Build requirements:
57
57
58
58
- `Cython <https://github.com/cython/cython >`_ 0.29.36
59
- - `brotli <https://github.com/google/brotli >`_ 1.0.9
59
+ - `brotli <https://github.com/google/brotli >`_ 1.1.0
60
60
- `brunsli <https://github.com/google/brunsli >`_ 0.1
61
61
- `bzip2 <https://gitlab.com/bzip2/bzip2 >`_ 1.0.8
62
- - `c-blosc <https://github.com/Blosc/c-blosc >`_ 1.21.4
63
- - `c-blosc2 <https://github.com/Blosc/c-blosc2 >`_ 2.10.1
62
+ - `c-blosc <https://github.com/Blosc/c-blosc >`_ 1.21.5
63
+ - `c-blosc2 <https://github.com/Blosc/c-blosc2 >`_ 2.10.2
64
64
- `charls <https://github.com/team-charls/charls >`_ 2.4.2
65
65
- `giflib <https://sourceforge.net/projects/giflib/ >`_ 5.2.1
66
66
- `jetraw <https://github.com/Jetraw/Jetraw >`_ 22.02.16.1
67
67
- `jxrlib <https://github.com/cgohlke/jxrlib >`_ 1.2
68
68
- `lcms <https://github.com/mm2/Little-CMS >`_ 2.15
69
69
- `lerc <https://github.com/Esri/lerc >`_ 4.0.0
70
70
- `libaec <https://gitlab.dkrz.de/k202009/libaec >`_ 1.0.6
71
- - `libavif <https://github.com/AOMediaCodec/libavif >`_ 0.11 .1
72
- (`aom <https://aomedia.googlesource.com/aom >`_ 3.6.1 ,
71
+ - `libavif <https://github.com/AOMediaCodec/libavif >`_ 1.0 .1
72
+ (`aom <https://aomedia.googlesource.com/aom >`_ 3.7.0 ,
73
73
`dav1d <https://github.com/videolan/dav1d >`_ 1.2.1,
74
74
`rav1e <https://github.com/xiph/rav1e >`_ 0.6.6,
75
- `svt-av1 <https://gitlab.com/AOMediaCodec/SVT-AV1 >`_ 1.6 .0)
75
+ `svt-av1 <https://gitlab.com/AOMediaCodec/SVT-AV1 >`_ 1.7 .0)
76
76
- `libdeflate <https://github.com/ebiggers/libdeflate >`_ 1.18
77
77
- `libheif <https://github.com/strukturag/libheif >`_ 1.16.2
78
78
(`libde265 <https://github.com/strukturag/libde265 >`_ 1.0.12,
@@ -109,15 +109,17 @@ Vendored requirements:
109
109
<https://bitbucket.org/baldand/mlrawviewer/src/master/liblj92/> `_ modified
110
110
- `liblzf <http://oldhome.schmorp.de/marc/liblzf.html >`_ 3.6
111
111
- `libspng <https://github.com/randy408/libspng >`_ 0.7.4
112
+ - `nc4var.c <https://github.com/Unidata/netcdf-c/blob/main/libsrc4/nc4var.c >`_
113
+ modified
112
114
- `pg_lzcompress.c <https://github.com/postgres/postgres >`_ modified
113
115
- `qoi.h <https://github.com/phoboslab/qoi/ >`_ 36190eb
114
116
- `rgbe.c <https://www.graphics.cornell.edu/~bjw/rgbe/rgbe.c >`_ modified
115
117
116
118
Test requirements:
117
119
118
- - `tifffile <https://pypi.org/project/tifffile >`_ 2023.7.18
120
+ - `tifffile <https://pypi.org/project/tifffile >`_ 2023.8.30
119
121
- `czifile <https://pypi.org/project/czifile >`_ 2019.7.2
120
- - `zarr <https://github.com/zarr-developers/zarr-python >`_ 2.16.0
122
+ - `zarr <https://github.com/zarr-developers/zarr-python >`_ 2.16.1
121
123
- `python-blosc <https://github.com/Blosc/python-blosc >`_ 1.11.1
122
124
- `python-blosc2 <https://github.com/Blosc/python-blosc2 >`_ 2.2.6
123
125
- `python-brotli <https://github.com/google/brotli/tree/master/python >`_ 1.0.9
@@ -131,14 +133,23 @@ Test requirements:
131
133
Revisions
132
134
---------
133
135
136
+ 2023.9.4
137
+
138
+ - Pass 7110 tests.
139
+ - Map avif_encode level parameter to quality (breaking).
140
+ - Support monochrome images in avif_encode.
141
+ - Add numthreads parameter to avif_decode (fix imread of AVIF).
142
+ - Add experimental quantize filter (BitGroom, BitRound, GBR) via nc4var.c.
143
+ - Add LZ4H5 codec.
144
+ - Support more BCn compressed DDS fourcc types.
145
+ - Require libavif 1.0.
146
+
134
147
2023.8.12
135
148
136
- - Pass 6929 tests.
137
149
- Add EER (Electron Event Representation) decoder.
138
150
- Add option to pass initial value to crc32 and adler32 checksum functions.
139
151
- Add fletcher32 and lookup3 checksum functions via HDF5's h5checksum.c.
140
152
- Add Checksum codec for numcodecs.
141
- - Add py.typed marker.
142
153
143
154
2023.7.10
144
155
@@ -185,7 +196,6 @@ Revisions
185
196
186
197
2022.12.24
187
198
188
- - Pass 6512 tests.
189
199
- Fix PNG codec error handling.
190
200
- Fix truncated transferfunctions in cms_profile (#57).
191
201
- Fix exceptions not raised in cdef functions not returning Python object.
@@ -281,6 +291,11 @@ Python <= 3.8 is no longer supported. 32-bit versions are deprecated.
281
291
282
292
Works on little-endian platforms only.
283
293
294
+ Supported platforms are ``win_amd64 ``, ``win_arm64 ``, ``win32 ``,
295
+ ``macosx_x86_64 ``, ``macosx_arm64 ``, and ``manylinux_x86_64 ``.
296
+
297
+ Wheels may not be available for all platforms and all releases.
298
+
284
299
Only the ``win_amd64 `` wheels include all features.
285
300
286
301
The ``tiff ``, ``bcn ``, ``dds ``, ``eer ``, ``packints ``, and ``jpegsof3 `` codecs
@@ -297,11 +312,6 @@ Refer to the imagecodecs/licenses folder for 3rd-party library licenses.
297
312
298
313
This software is based in part on the work of the Independent JPEG Group.
299
314
300
- Wheels for macOS may not be available for all releases.
301
-
302
- Build instructions for manylinux and macOS courtesy of
303
- `Grzegorz Bokota <https://github.com/Czaki/imagecodecs_build >`_.
304
-
305
315
Update pip and setuptools to the latest version before installing imagecodecs::
306
316
307
317
python -m pip install -U pip setuptools wheel Cython
@@ -378,7 +388,8 @@ Other Python packages and C libraries providing imaging or compression codecs:
378
388
`OpenJPH <https://github.com/aous72/OpenJPH >`_,
379
389
`SPERR <https://github.com/NCAR/SPERR >`_ (GPL),
380
390
`MAFISC
381
- <https://wr.informatik.uni-hamburg.de/research/projects/icomex/mafisc> `_.
391
+ <https://wr.informatik.uni-hamburg.de/research/projects/icomex/mafisc> `_,
392
+ `B3D <https://github.com/balintbalazs/B3D >`_.
382
393
383
394
Examples
384
395
--------
0 commit comments