diff --git a/CHANGES.md b/CHANGES.md index 63533af..33566e6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,11 +1,19 @@ -# Version 0.6.0-alpha +# Version 0.6.0 +New features: * Support for decoding BigTIFF with 64-bit offsets +* The value types byte, `f32`, `f64` are now recognized +* Support for Modern JPEG encoded images + +Improvements: * Better support for adding auxiliary tags before encoding image data +* Switched to lzw decoder library `weezl` for performance +* The `ColorType` trait now supports `SAMPLE_ENCODING` hints + +Fixes: * Fixed decoding of inline ASCII in tags * Fixed handling after null terminator in ASCII data * Recognize tile and sample format tags -* Note: these notes will be merged into 0.6.0 when it is released # Version 0.5.0 diff --git a/Cargo.toml b/Cargo.toml index 268e58a..35b19e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tiff" -version = "0.6.0-alpha" +version = "0.6.0" authors = [ "ccgn", "bvssvni ", diff --git a/README.md b/README.md index b807724..7c660e8 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ TIFF decoding and encoding library in pure Rust ### Features - Baseline spec (other than formats and tags listed below as not supported) - Multipage +- BigTIFF - Incremental decoding ### Formats @@ -43,4 +44,3 @@ Formats and interpretations not listed above or with empty entries are unsupport - Baseline tags - `ExtraSamples` - Extension tags -- BigTIFF diff --git a/src/decoder/mod.rs b/src/decoder/mod.rs index 4cc1bd7..033f2dd 100644 --- a/src/decoder/mod.rs +++ b/src/decoder/mod.rs @@ -237,18 +237,6 @@ impl Wrapping for u64 { } } -impl Wrapping for f32 { - fn wrapping_add(&self, other: Self) -> Self { - self + other - } -} - -impl Wrapping for f64 { - fn wrapping_add(&self, other: Self) -> Self { - self + other - } -} - fn rev_hpredict_nsamp(image: &mut [T], size: (u32, u32), samples: usize) -> TiffResult<()> where T: Copy + Wrapping,