2004.07.27 07:09 "[Tiff] on modify tags", by Zhaoguang

2004.07.27 13:27 "Re: [Tiff] on modify tags", by Frank Warmerdam

i want to modify some tags of a tiff file, but if i open a file by TIFFOpen with a mode parameter "w", all the context was cleaned, any suggestion on this subject?

Zhaoguang,

You can open the file in "update mode" using the access string "r+". However, libtiff isn't generally oriented to in-place-update so there are alot of things that can go wrong.

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