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.02.03 07:54 "RE: Opening compressed images in "update" mode.", by Rainer Wiesenfarth

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

From: Frank Warmerdam [mailto:warmerdam@pobox.com]

> (...) 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.

I do not think that this causes any harm. However, the best - and probably most welcome - solution would be to incorporate full support for the two tags FreeOffsets / FreeByteCounts into libtiff. Once this is in the library, there should be the possibility to open whatever image in update mode.

However, there are backdrops of it: as soon as private tags reference to content the references might get dangling. But for "standard" image it might be a big improvement.

Ok, you gave me the little finger, and I ask for the whole arm. I am totally satisfied with what libtiff currently offers, but if you are searching for tasks for your spare time, this might be one ;-)

- -- Smaragdweg 1                  Phone : +49 711 22881-10
- -- 70174 Stuttgart               Fax   : +49 711 22881-11
- -- Germany                       URL   : http://www.inpho.de

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4

iQA/AwUBPj4gJlAwQIMgoAFnEQJPygCbBA3Dgrq/Nles1JBdkSybguLZlpcAmQFw
MtRiLQlx9E5o23J8lrfn4TBE
=bASn
-----END PGP SIGNATURE-----