AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.01.15 18:41 "IFD Location", by scott
2003.01.15 20:11 "Re: IFD Location", by Dwight Kelly

2003.01.15 20:11 "Re: IFD Location", by Dwight Kelly

I'm building a TIF with LIBTIFF, and it places the directory after the strip. I'd like to place it in the front of the file (behind the header). I'm basically doing this:

TIFOpen ()
TIFCreateDirectory ()
TIFSetField ()
TIFSetField ()
...
loop - TIFWriteScanLine ()
TIFClose ()

remove TIFFCreateDirectory() and put TIFFWriteDirectory() before first TIFFWriteScanline() call.

TIFFOpen ()
TIFFSetField ()
TIFFSetField ()
TIFFWriteDirectory()
...
loop - TIFFWriteScanLine ()
TIFFClose ()

Dwight Kelly
Apago, Inc. 4080 McGinnis Ferry Rd Suite 601 Alpharetta, GA 30005
voice:(770) 619-1884 fax:(770) 619-1885
email: dkelly@apago.com web: http://www.apago.com