AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.02.17 13:12 "flushing of tiffs where only the directory has changed", by Axel Waggershauser
2003.02.18 18:57 "Re: flushing of tiffs where only the directory has changed", by Andrey Kiselev
2003.02.20 08:31 "Re: flushing of tiffs where only the directory has changed", by Axel Waggershauser
2003.02.21 08:07 "Re: flushing of tiffs where only the directory has changed", by Andrey Kiselev

2003.02.18 18:57 "Re: flushing of tiffs where only the directory has changed", by Andrey Kiselev

Hi, Axel,

On Mon, Feb 17, 2003 at 02:12:44PM +0100, Axel Waggershauser wrote:

I have to open an tiff file, change a custom field but no image data and save the changes. This seems no to be possible, since the TIFFFlush()

You need TIFFRewriteDirectory() function. Call TIFFRewriteDirectory() after all SetField() calls and before TIFFClose(). TIFFRewriteDirectory(3t) manpage has additional info.

--
Andrey V. Kiselev

Home phone: +7 812 5274898 ICQ# 26871517