2005.05.24 06:27 "[Tiff] Question about Jpeg-in-tiff, JPEG IN TIFF created by libtiff can't be read by acdsee", by Kelvin Zhong

2005.05.24 06:27 "[Tiff] Question about Jpeg-in-tiff, JPEG IN TIFF created by libtiff can't be read by acdsee", by Kelvin Zhong

Hi,all,

I have created some JPEG-in-TIFFs(compression mode = 7) with libtiff 3.7.2 and i found that a few high-profile apps(like Windows Imaging, acdsee 5) can't decode them. yet these same apps can read other JPEG-in-TIFFs(compression mode = 7) correctly.

after i do more research on it ,i found that the file libtiff created have multiple strips and corresponding (stripoffsets and stripbytecounts...) and the file ACDSEE can opened correctly encoded the jpeg data as a single strip.(or single tile)

My question is:

  1. what libtiff doing(write) with the JPEG-in-TIFFs as i described meet the TIFF Specification (standard) ?
  2. how can i do some modification with the libtiff library ,just make it can write the jpeg data as a single strip.?

does anyone know something special?

Kingore@126.com
Kelvin zhong