AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.01.02 18:00 "TIFF file with 2k header", by Eric Hamrick
2002.01.03 14:24 "RE: TIFF file with 2k header", by Poysa, Kari
2002.01.03 14:55 "RE: TIFF file with 2k header", by
2002.02.05 14:20 "Re: tiff (libtiff)", by Bjorn Brox

2002.01.02 18:00 "TIFF file with 2k header", by Eric Hamrick

hi all

I have tiff files with a vendor specific 2 kilobyte header at the beginning of the file. Currently I'm just rewriting the file to a different location without the header and then calling the libtiff functions on that file. Is there an easy way to have libtiff load the image directly by ignoring the the 2k header each time. I've tried to make some modifications at some points in the libtiff code to set the tiff file pointer but have only succeeded in making a mess. :) So if anyone knows of a strategic place to put code keeping the tif file pointer always 2k past the beginning of the file that would be great. Maybe I'm making this harder than it actually is.

Thanks!

Eric Hamrick