2000.12.22 15:51 "Re: Libtiff's tiffcp and IFD's a newbie in trouble..", by Bård Kregnes
It's a hack, but you can accomplish this by adding the following lines just before the "cf = pickCopyFunc..." stuff in tiffcp.
Hack is good... :-)
TIFFWriteCheck( out, TIFFIsTiled(out), "..." );
What should I put in ".."?
I waived thru the code, and saw the should be a module name..Didn't really figure out what stick in there... :-\
Sorry about this newbie stuff :-)
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.
Thx, for your help!
"Funny," he intoned funerally, "how just when you think life
can't possibly get any worse it suddenly does."