AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2018.05.11 01:43 "[Tiff] LZ4 compression", by fx HAYAKAWA MICHIO
2018.05.11 02:39 "Re: [Tiff] LZ4 compression", by Kemp Watson
2018.05.11 09:14 "Re: [Tiff] LZ4 compression", by Even Rouault
2018.05.11 11:15 "Re: [Tiff] LZ4 compression", by Kemp Watson
2018.05.11 11:30 "Re: [Tiff] LZ4 compression", by Even Rouault
2018.05.11 12:24 "Re: [Tiff] LZ4 compression", by Kemp Watson
2018.05.11 14:18 "Re: [Tiff] LZ4 compression", by Kemp Watson
2018.05.11 12:50 "Re: [Tiff] LZ4 compression", by Bob Friesenhahn
2018.05.11 19:25 "Re: [Tiff] LZ4 compression", by Roger Leigh
2018.05.11 19:50 "Re: [Tiff] LZ4 compression", by Bob Friesenhahn
2018.05.11 20:14 "Re: [Tiff] LZ4 compression", by Even Rouault
2018.05.11 20:54 "Re: [Tiff] LZ4 compression", by Kemp Watson
2018.05.11 21:15 "Re: [Tiff] LZ4 compression", by Even Rouault
2018.05.11 21:58 "Re: [Tiff] LZ4 compression", by Kemp Watson
2018.05.14 05:13 "Re: [Tiff] LZ4 compression", by fx HAYAKAWA MICHIO
2018.05.23 12:18 "Re: [Tiff] ] Not able to write TIFF_LONG8 field_type tags", by Bhaskar Reddy
2018.05.23 07:21 "[Tiff] ] Not able to write TIFF_LONG8 field_type tags", by Bhaskar Reddy
2018.05.23 09:55 "Re: [Tiff] ] Not able to write TIFF_LONG8 field_type tags", by
2018.05.14 01:13 "Re: [Tiff] LZ4 compression", by fx HAYAKAWA MICHIO
2018.05.11 14:15 "Re: [Tiff] LZ4 compression", by Even Rouault
2018.05.14 23:51 "Re: [Tiff] LZ4 compression", by fx HAYAKAWA MICHIO
2018.05.14 13:20 "Re: [Tiff] LZ4 compression", by Bob Friesenhahn
2018.05.14 14:04 "Re: [Tiff] LZ4 compression", by
2018.06.08 00:02 "Re: [Tiff] LZ4 compression", by fx HAYAKAWA MICHIO
2018.06.08 00:17 "Re: [Tiff] LZ4 compression", by Even Rouault
2018.06.08 00:29 "Re: [Tiff] LZ4 compression", by fx HAYAKAWA MICHIO
2018.06.08 01:51 "Re: [Tiff] LZ4 compression", by Kemp Watson
2018.06.08 03:17 "Re: [Tiff] LZ4 compression", by fx HAYAKAWA MICHIO
2018.06.08 03:31 "Re: [Tiff] LZ4 compression", by Kemp Watson
2018.05.15 22:00 "Re: [Tiff] LZ4 compression", by Bob Friesenhahn
2018.05.15 22:02 "Re: [Tiff] LZ4 compression", by Andy Cave

2018.06.08 00:29 "Re: [Tiff] LZ4 compression", by fx HAYAKAWA MICHIO

Oh sorry, Even! I didn't check the repository.

How about followings?

#define COMPRESSION_LZ4         34927   /* LZ4 */

#define TIFFTAG_LZ4QUALITY              65564   /* LZ4 acceleration factor */

Thanks,
Michio

-----Original Message-----

Cc: fx HAYAKAWA MICHIO <michio.hayakawa@fujixerox.co.jp> Subject: Re: [Tiff] LZ4 compression

On vendredi 8 juin 2018 00:02:46 CEST fx HAYAKAWA MICHIO wrote:

I successfully implemented LZ4 compression in libtiff on Windows platform. LZ4 frame format is used for compression scheme. LZ4 frame is widely

> used for various applications.

Does anyone have any test images to see LZ4 compression characteristics?

I also modified tiffcp to support LZ4, so that any tiff files can be converted into LZ4 tiff.

From my small experiments, its compression ratio is better than LZW,

> but worse than ZIP. Predictor is nicely working with LZ4. My tiff > viewer shows

LZ4 tiff very fast compared to ZIP especially large tiff files. If

> someone want the code, I'd like to pick up two TAG values before > releasing it to avoid confusion.

#define COMPRESSION_LZ4         34926   /* LZ4 */

#define TIFFTAG_LZ4QUALITY              65564   /* LZ4 acceleration factor */

Are there any objections to pick up those values?

Yes! libtiff master uses 34926 for ZSTD codec: https://gitlab.com/libtiff/libtiff/blob/master/libtiff/tiff.h#L191