AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2009.10.28 15:18 "[Tiff] extending tags in "a"ppend mode?", by Juergen Buchmueller
2009.10.28 16:02 "Re: [Tiff] extending tags in "a"ppend mode?", by Frank Warmerdam
2009.11.03 12:16 "Re: [Tiff] Tiffcrop test suite and logluv issues", by Toby Thain
[...]

2009.10.28 15:18 "[Tiff] extending tags in "a"ppend mode?", by Juergen Buchmueller

Hi list,

should it be possible to extend the tags of (the first directory of) an existing tiff file opened in "a"ppend mode?

What I'm trying to do is:
+ open an existing tiff file with TIFFOpen(...,"a")
+ create an array of TIFFFieldInfo
+ call TIFFMergeFieldInfo() with this array and count
+ Write some (string) tags that were defined in the array
+ close the tiff handle with TIFFClose()

It seems that TIFFClose() hangs somewhere and doesn't return, which is why I suspect that what I'm trying to do is impossible.

Juergen