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

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