AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
December 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2006.12.21 23:54 "removing tiff tag in-place", by Gennady Khokhorin
2006.12.26 10:30 "Re: removing tiff tag in-place", by Andrey Kiselev
2007.01.02 12:36 "Re: removing tiff tag in-place", by Gerben Vos

2007.01.02 12:36 "Re: removing tiff tag in-place", by Gerben Vos

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?

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.