| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2000.12.22 15:00 "Re: Libtiff's tiffcp and IFD's a newbie in trouble..", by Frank WarmerdamBard,
It's a hack, but you can accomplish this by adding the following lines
just before the "cf = pickCopyFunc..." stuff in tiffcp.
TIFFWriteCheck( out, TIFFIsTiled(out), "..." );
TIFFWriteDirectory( out );
TIFFSetDirectory( out, 0 );
This forces the directory to be written and reread before any data has
been written, so it appears at offset 8.
Best regards,
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerda@home.com
light and sound - activate the windows | http://members.home.com/warmerda
and watch the world go round - Rush | Geospatial Programmer for Rent
Editor's note: This mail was not originally archived, and has been reconstructed from quotes. |
|||||||