Lymphatus / libcaesium

The Caesium compression library written in Rust (with a C interface)
Apache License 2.0
128 stars 23 forks source link

Feature Request: TIFF Support #9

Closed Saijin-Naib closed 9 months ago

Saijin-Naib commented 3 years ago

I know TIFF is a massive can of worms, but perhaps it could be investigated in a limited scope initially.

Say, DEFLATE-compressed TIFFs.

libtiff (which now incorporates libdeflate) should be able to not only compress/decompress faster than prior, but also has optional Level 12 compression (increased from Level 9 of zlib), and should out-perform/compress zlib at each Level.

Lymphatus commented 9 months ago

With version 0.15.0 there's a initial support for TIFF even though it's a bit limited on which files it can handle. For now it's handling RGB(A) files and supports Lzw, Deflate (levels 3, 6, 9) and Packbits.