AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 2003

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2003.01.15 18:41 "IFD Location", by <scott@ippsoftware.com>
2003.01.15 20:11 "Re: IFD Location", by Dwight Kelly

2003.01.15 18:41 "IFD Location", by <scott@ippsoftware.com>

Simple Question:  How do I place the IFD at the beginning of the file 
(after the header)?

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 ()

Rearraning the TIFCreateDirectory didn't do it.

I know it doesn't matter, but we are trying to emulate a component from a 
major vendor, and want to demonstrate that the image files are virtually 
identical.  I don't want to get caught up in an explaination to some 
illiterate VP

Thanks for any help.