AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.01.31 16:52 "Opening compressed images in "update" mode.", by Frank Warmerdam
2003.02.03 07:54 "RE: Opening compressed images in "update" mode.", by Rainer Wiesenfarth

2003.01.31 16:52 "Opening compressed images in "update" mode.", by Frank Warmerdam

<x-flowed>Folks,

As part of my efforts to improve the ability of libtiff to update existing images in-place, I have removed the restriction in tif_open.c that prevented compressed images from being opened in update mode. I have added a check in TIFFWriteCheck() (called before imagery can be written on a directory) to fail if an attempt is made to write to an existing compressed image.

If anyone knows a reason this will be terrible please let me know.

This should allow updates to directory information of a compressed image without having to copy everything.

If anyone knows a reason this would be really bad, please let me know. The change is in CVS if anyone wants to try it.

Related to:

http://bugzilla.remotesensing.org/show_bug.cgi?id=198

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