AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.07.21 15:33 "[Tiff] FW: Help, I need to do some binary surgery on my tiff.", by James Carroll
2005.07.21 15:58 "Re: [Tiff] FW: Help, I need to do some binary surgery on my tiff.", by Joris
2005.07.21 18:28 "RE: [Tiff] FW: Help, I need to do some binary surgery on my tiff.", by James Carroll
2005.07.21 01:37 "[Tiff] TIFF Mailing List Migration", by Frank Warmerdam

2005.07.21 15:33 "[Tiff] FW: Help, I need to do some binary surgery on my tiff.", by James Carroll

Hi, I have my own version of tiffcp that I used to combine some individual

tiffs into a multi-tiff. The problem is that the result was over 4GB. Now

I can't use libtiff (I've tried a few ways.) to open the result. I just need to extract the first directory of the tiff out so that it's its own tiff file.

Does anyone have any suggestions? I think what I need to do is create a program that opens the file in binary mode, and starts walking from tag to tag, writing everything out until I get to the second directory, then stopping.

Does this sound possible? Does anyone know of an example that does anything

similar? Is there any quick way of commenting out parts of libtiff so
that
it doesn't fail when I open the tiff?

Thanks,

-Jim