image-rs / image

Encoding and decoding images in Rust
Apache License 2.0
4.86k stars 597 forks source link

Added compression and f32 support for TIFF encoding/decoding. #2251

Open sunipkm opened 3 months ago

sunipkm commented 3 months ago

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to choose either at their option.

f32 encoding/decoding support is added without additional byte alignment requirements. Removed 2-byte alignment requirement for u16 encoding/decoding. Added TIFF compression support.

fintelia commented 3 months ago

CI seems to be failing because this exposes the tiff crate's Compressor type

sunipkm commented 4 weeks ago

I somehow missed this, just pushed changes that hide tiff crate's Compressor type.