AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2006.12.21 23:54 "[Tiff] removing tiff tag in-place", by Gennady Khokhorin
2006.12.26 10:30 "Re: [Tiff] removing tiff tag in-place", by Andrey Kiselev
2007.01.02 12:36 "Re: [Tiff] removing tiff tag in-place", by Gerben Vos
2007.01.05 05:08 "FW: [Tiff] removing tiff tag in-place", by Gennady Khokhorin
2007.01.08 13:20 "Re: [Tiff] removing tiff tag in-place", by Gerben Vos

2006.12.26 10:30 "Re: [Tiff] removing tiff tag in-place", by Andrey Kiselev

On Thu, Dec 21, 2006 at 02:54:20PM -0900, Gennady Khokhorin wrote:

I have an empty tags which want to remove from tif wout copying process. I tried TIFFSetField(tif, TIFFTAG_DOCUMENTNAME, ""); but tag still seats in the file. Is it possible to drop an empty ascii tags?

Gennady,

I am afraid there is no a clean way to purge empty tags. I don't want to recommend you the way with removing old directory using TIFFUnlinkDirectory() because it involves rewriting the whole data chunk including strip/tile arrays. You can add an entry to our Bugzilla requesting the function for field dropping.

Best regards,

Andrey

--
Andrey V. Kiselev
ICQ# 26871517