2005.05.24 09:10 "Re: [Tiff] Question about Jpeg-in-tiff, JPEG IN TIFF created by libtiff can't be read by acdsee", by Joris Van Damme
and i found that a few high-profile apps(like Windows Imaging, acdsee 5) can't decode them.
Windows Imaging is half a century behind, it's still trying to make sense of original old-style TIFF 6.0 jpeg-in-tiff, while the rest of the planet agrees new-style compression 7 as specificied in specification supplement 2 is the way to go. As to ACDSEE, I don't know.
- what libtiff doing(write) with the JPEG-in-TIFFs as i described meet the TIFF Specification (standard) ?
Yes, it is. The specification, I mean to include the supplements. See http://www.awaresystems.be/imaging/tiff/faq.html#q4 for the full list of URLs to the specification. I intentionally include a pointer to Tom's original TT2 there, even though this is absorbed in supplement 2, because that original includes a lengthy description of why the format that Window Imaging is trying to honour is complete shambles and should not be used.
- how can i do some modification with the libtiff library ,just make it can write the jpeg data as a single strip.?
Show us your current code. If you use the strip interface, and you need to write a single strip, the modification should probably be as easy as adjusting the rowsperstrip value, I think.
Joris Van Damme
Download your free TIFF tag viewer for windows here: