From 150ff8303beabcda72acb1dfcc441eb187662473 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 16 May 2021 15:03:06 +0200 Subject: [PATCH] Add changes of #132 and #134 --- CHANGES.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index f437728..829c8a5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -13,6 +13,12 @@ New features: * _Breaking:_ `DecodingResult` and `DecodingBuffer` have a new `I64` variant. * Add `SMinSampleValue` and `SMaxSampleValue` ([#123](https://github.com/image-rs/image-tiff/pull/123)) +Changes: +* Improve deflate support ([#132](https://github.com/image-rs/image-tiff/pull/132)) + * Switch to streaming decompression via `flate2`. Aside from performance improvements and lower RAM consumption, this fixes a bug where `max_uncompressed_length` was precalculated for a single tile but then used as a hard limit on the whole data, failing to decompress any tiled images. + * Add support for new `Deflate` tag in addition to `OldDeflate`. +* _Breaking:_ Remove `InflateError`, which is no longer needed with `flate2` ([#134](https://github.com/image-rs/image-tiff/pull/134)) + Fixes: * Validate that ASCII tags are valid ASCII and end with a null byte ([#121](https://github.com/image-rs/image-tiff/pull/121))