2017.05.11 17:35 "[Tiff] JPEG compressed RGB tiled TIFF with chroma subsampling", by Yakov Galka

2017.05.22 16:42 "Re: [Tiff] JPEG compressed RGB tiled TIFF with chroma subsampling", by Yakov Galka

Dear Kemp,

On Mon, May 22, 2017 at 6:31 PM, Kemp Watson <kemp@objectivepathology.com> wrote:

JPEG-in-TIFF is not a TIFF 6.0 compliant file. Many readers/writers out there understand TIFF 6.0, but not TechNote #2. TIFF is a container format, there is no way any reader or writer can know the entire spectrum of items that could potentially be put in a TIFF file.

Sure. No need to explain that. But it's entirely possible that *one library* would support a wide spectrum of those features and hide at least the non-essential differences.

Tiles/strips is a critical difference to many applications. If it was abstracted away, entire businesses would cease to exist - not a pesky detail in the least for geospatial, astronomy, or microscopy applications.

It seems that you misunderstood me. I surely don't advocate abstracting tiles and strips away, like TIFFReadRGBAImage does.

Instead, I was talking about providing uniform interface for both of them, so that the interface for the tiles would read striped TIFFs too. Every libTIFF software I see has two separate code paths for tiles and strips. But strips are logically image-width sized tiles, and it would simplify everybody's life if libTIFF reflected that in the API.

--
Yakov Galka
http://stannum.co.il/