AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.09.20 07:33 "Writing OJPEG TIFFs", by Nicola Righetti
2002.09.20 12:23 "Re: Writing OJPEG TIFFs", by Jon Saxton
2002.09.25 17:16 "Writing OJPEG TIFFs", by Nicola Righetti

2002.09.20 12:23 "Re: Writing OJPEG TIFFs", by Jon Saxton

Doese anybody has code to write OJPEG(Compression=6) TIFFs that can be read by Win98 Imaging?

I managed to add TAGS 0x200 x201 x202 to my JPEG TIFFs but they will open only on 2000/XP non on WIn98.

Unfortunately I have had to create those because many viewers don't support the newer JPEG compression. In all cases so far, all I have had to do is set compression=OJPEG and set tag 513 (0x201) to some non-zero value (e.g. same as stripbyteoffsets[0]). I never bothered with any of the other old JPEG tags. I am a bit surprised that you weren't able to open TIFFs like that on Win98 and it seems you may have found one case where my simple technique fails.

Jon Saxton <js@triton.vg>
Developer of cross-platform software for UNIX, OS/2 and Win32
U.S. agent for Triton Technologies International Ltd
http://www.triton.vg/