| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2009.12.06 15:57 "Re: Adding tags to a broken(?) TIFF", by Bob FriesenhahnOn Sun, 6 Dec 2009, Juergen Buchmueller wrote: > FYI: I solved the problem by creating a new TIFF on the fly. > > It seems that libtiff doesn't handle extending a directory without > overwriting data at all. If a directory size increases, libtiff would > have to relocate the entire directory entry with all existing tags to > e.g. the end of the file. It doesn't do that now, but writes the new > tag to the file right after the end of the current directory, thereby > destroying whatever is there. > > That's just my observation without looking into libtiff's source. What version of libtiff are you using? Bob -- Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |
|||||||