2000.12.22 11:20 "Libtiff's tiffcp and IFD's a newbie in trouble..", by Bård Kregnes

2000.12.22 11:20 "Libtiff's tiffcp and IFD's a newbie in trouble..", by Bård Kregnes

Hi!

I've runned into 'abscure' problem: The tiff-viewer which is integrated in the application software will _only_ 'view' tiff's where: (from tiffinfo) TIFF Directory at offset 0x8.

Senario: Tiff produced from the OCR software produce a tiff where the offset is 0x8. But when I run tiffcp on this file I get: (from tiffinfo) TIFF Directory at offset 0x1ac4. And the application isn't able to show the image.

Yes, I know: switch viewer. But it's an old applicaton and so on..

What I hoped to do: Rewrite/modify tiffcp to force the TIFF Directory offset to start at 0x8.

Hope this made some sense..

TIA

Bård

"Funny," he intoned funerally, "how just when you think life
can't possibly get any worse it suddenly does."