AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2014.12.21 20:12 "[Tiff] PNG in TIFF ?", by Ulf Zibis
2014.12.21 20:20 "Re: [Tiff] PNG in TIFF ?", by Toby Thain
2014.12.21 20:49 "Re: [Tiff] PNG in TIFF ?", by Joris Van Damme
2014.12.22 01:54 "Re: [Tiff] PNG in TIFF ?", by Tom Lane
2014.12.22 02:29 "Re: [Tiff] PNG in TIFF ?", by Bob Friesenhahn
2014.12.22 02:55 "Re: [Tiff] PNG in TIFF ?", by Toby Thain
2014.12.22 03:19 "Re: [Tiff] PNG in TIFF ?", by Bob Friesenhahn
2014.12.22 08:51 "Re: [Tiff] PNG in TIFF ?", by Joris Van Damme
2014.12.22 14:59 "Re: [Tiff] PNG in TIFF ?", by Tom Lane
2014.12.22 15:30 "Re: [Tiff] PNG in TIFF ?", by Joris Van Damme
2014.12.22 23:02 "Re: [Tiff] PNG in TIFF ?", by Ulf Zibis
2014.12.27 22:24 "Re: [Tiff] PNG in TIFF ?", by Ulf Zibis

2014.12.22 01:54 "Re: [Tiff] PNG in TIFF ?", by Tom Lane

is it possible, to have PNG-compressed images in multi-page TIFF file?

> Closest in standard TIFF would be LZW

No it's not. Flate compression is supported in TIFF. LibTiff does support it, too.

This means that yes, the compression method used in PNG, can be used in TIFF, too, and sure, you can use it in a multi-page TIFF.

That's not really PNG's compression method though. PNG does use deflate but there is a pixel-differencing filter in front of that; for lots of image types the filtering step is critical to the amount of compression you can get. As said upthread, you could put that into TIFF as a custom compression type, but nobody else could read such files.

                        regards, tom lane