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
October 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.10.18 17:06 "Change existingTiffTag", by Tobias Gurski
2005.10.18 17:45 "Re: Change existingTiffTag", by Frank Warmerdam
2005.10.18 17:47 "Re: Change existingTiffTag", by <lou.sakey@kodak.com>

2005.10.18 17:45 "Re: Change existingTiffTag", by Frank Warmerdam

On 10/18/05, Tobias Gurski wrote:
>
> I try to change a tiff Tag in a  existing tiff file . But I can't find a way
> to do this with the libtiff. Is there any way or not! I tried tiffsetField
> but it doesn't work. I searched 2 days without any result! Please help.
> Thanks

Tobias,

You might want to look at the tiffset program in libtiff/tools.
It just opens the file in "r+" mode, and uses TIFFSetField()
to set/reset selected fields.  The thing to be aware of about
this approach is that a new directory with the updated values
gets written at the end of the file, orphaning the disk space
used for the previous incarnation of the directory.

But if that isn't a problem for you, it should be practical.

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