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
January 2005

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

2005.01.20 20:08 "deleting tags!", by <melser.anton@gmail.com>
2005.01.21 15:14 "Re: deleting tags!", by Frank Warmerdam
2005.01.21 15:20 "Re: deleting tags!", by Chris Losinger
2005.01.21 17:42 "Re: deleting tags!", by Frank Warmerdam
2005.01.21 18:29 "Re: deleting tags!", by <melser.anton@gmail.com>
2005.01.21 20:02 "Re: deleting tags!", by Frank Warmerdam
2005.01.21 20:27 "Re: deleting tags!", by <melser.anton@gmail.com>
2005.01.21 21:49 "Re: deleting tags!", by Andrey Kiselev

2005.01.21 15:14 "Re: deleting tags!", by Frank Warmerdam

On Thu, 20 Jan 2005 21:08:13 +0100, Antoine <melser.anton@gmail.com> wrote:
> I have had a really frustrating day trying to work out how to delete
> tags from a tiff header. Can anyone help me here? I am truly zero at c
> and am having a real 'mare trying to get anywhere. I have got as far as
> seeing that there is nothing special pupose for it in libtiff, so there
> is probably some way of doing it by undefining the tag. Any pointers?

Antione,

I'm not aware of any way of clearing a tag completely from the
directory either.  In fact, "in place" update of a TIFF file on disk is
still a relatively experimental area.  In the past before in-place update
there was never a compelling need to delete tags from an in memory
directory since you could update a file on disk (other than appending
new images). 

If you really need to do this for some specific purpose (and a specific
tag), I'm sure we could help you with a hack going around the public
interface.

The more conventional approach though is to copy the file you
want to change to a new file, and just avoid copying anything you 
don't want in the new file. 

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent