| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2007.01.02 12:36 "Re: removing tiff tag in-place", by Gerben VosGennady 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? Try TIFFClrFieldBit(tif, FIELD_DOCUMENTNAME), a macro defined in tif_dir.h . Note: use FIELD_DOCUMENTNAME, not TIFFTAG_DOCUMENTNAME! I've never used it, but it looks like it does what you want. I don't think there currently is a public function for this, but I think it would be a good idea to have one. Gerben Vos. |
|||||||