AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.12.04 11:25 "Bugs in tiff_dirread.c?", by Torsten Hentschel
2002.12.04 14:36 "Re: Bugs in tiff_dirread.c?", by Dwight Kelly
2002.12.05 11:41 "Re: Bugs in tiff_dirread.c?", by Torsten Hentschel
2002.12.05 13:10 "Re: Bugs in tiff_dirread.c?", by Dwight Kelly
2002.12.05 15:38 "Re: Bugs in tiff_dirread.c?", by Torsten Hentschel
2003.01.15 15:59 "libtiff 3.6.0 Beta", by Frank Warmerdam
2003.01.15 18:41 "IFD Location", by scott
2003.01.15 20:11 "Re: IFD Location", by Dwight Kelly
2003.01.28 19:28 "ifd offset problem?", by Bob Herion
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