3.5 KiB
3.5 KiB
Version 0.7.0
New features:
- Support for encoding BigTiff (#122)
- Breaking: Encoder types now have a generic parameter to differentiate BigTiff and standard Tiff encoding. Defaults to standard Tiff.
- Basic tile decoding (#125)
- Breaking: There is a new
TiffError::UsageErrorvariant.
- Breaking: There is a new
- Support for datatypes
Int8andInt16(#114)- Breaking:
DecodingResultandDecodingBufferhave the two new variantsI8andI16.
- Breaking:
- Support for
i32arrays (#118)- Breaking:
DecodingResultandDecodingBufferhave a newI32variant.
- Breaking:
- Support for
IfdandIfdBigtag types andI64data type (#119)- Breaking:
DecodingResultandDecodingBufferhave a newI64variant.
- Breaking:
- Add
SMinSampleValueandSMaxSampleValue(#123)
Fixes:
- Validate that ASCII tags are valid ASCII and end with a null byte (#121)
Internal:
Version 0.6.1
New features:
- Support for reading
u16and ascii string tags. - Added
Limits::unlimitedfor disabling all limits. - Added
ImageEncoder::rows_per_stripto overwrite the default.
Changes:
- The default strip size for chunked encoding is now 1MB, up from 8KB. This should lead to more efficient decoding and compression.
Fixes:
- Fixed a bug where LZW compressed strips could not be decoded, instead
returning an error
Inconsistent sizes encountered. - Reading a tag with a complex type and a single value returns the proper Value variant, instead of a vector with one entry.
Version 0.6.0
New features:
- Support for decoding BigTIFF with 64-bit offsets
- The value types byte,
f32,f64are now recognized - Support for Modern JPEG encoded images
Improvements:
- Better support for adding auxiliary tags before encoding image data
- Switched to lzw decoder library
weezlfor performance - The
ColorTypetrait now supportsSAMPLE_ENCODINGhints
Fixes:
- Fixed decoding of inline ASCII in tags
- Fixed handling after null terminator in ASCII data
- Recognize tile and sample format tags
Version 0.5.0
- Added support for 32-bit and 64-bit decoded values.
- Added CMYK(16|32|64) color type support.
- Check many internal integer conversions to increase stability. This should only lead to images being reported as faulty that would previously silently break platform limits. If there are any false positives, please report them.
- Remove an erroneous check of decoded length in lzw compressed images.
Version 0.4.0
- Several enumerations are now non_exhaustive for future extensions.
These are
Tag,Type,Value,PhotometricInterpretation,CompressionMethod,Predictor. - Enums gained a dedicated method to convert to their TIFF variant value with
the specified type. Performing these conversions by casting the discriminant
with
asis not guaranteed to be stable, except where documented explicitly. - Removed the num-derive and num dependencies.
- Added support for decoding
deflatecompressed images. - Make the decoder
Limitscustomizable by exposing members. - Fixed multi-page TIFF encoding writing incorrect offsets.