
Thread
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