AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2022.12.09 15:48 "[Tiff] libtiff v4.5.0 release candidate available", by Even Rouault
2022.12.09 18:03 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Kurt Schwehr
2022.12.10 13:29 "Re: [Tiff] [gdal-dev] libtiff v4.5.0 release candidate available", by Kai Pastor, DG0YT
2022.12.10 13:29 "Re: [Tiff] [gdal-dev] libtiff v4.5.0 release candidate available", by Even Rouault
2022.12.10 18:53 "Re: [Tiff] [gdal-dev] libtiff v4.5.0 release candidate available", by L. E. Segovia
2022.12.10 20:02 "Re: [Tiff] [gdal-dev] libtiff v4.5.0 release candidate available", by Even Rouault
2022.12.11 12:22 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Christoph Gohlke
2022.12.11 16:37 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Bob Friesenhahn
2022.12.11 16:57 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Even Rouault
2022.12.11 19:07 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Bob Friesenhahn
2022.12.11 19:58 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Sulau
2022.12.11 20:18 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Sam James
2022.12.11 20:31 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Bob Friesenhahn
2022.12.11 20:34 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Sulau
2022.12.11 20:43 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Bob Friesenhahn
2022.12.11 21:04 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Even Rouault
2022.12.11 22:34 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Christoph Gohlke
2022.12.12 18:31 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Even Rouault
2022.12.12 19:50 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Christoph Gohlke
2022.12.12 20:09 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Olivier Paquet
2022.12.12 20:16 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Christoph Gohlke
2022.12.12 20:22 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Olivier Paquet
2022.12.12 20:21 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Even Rouault
2022.12.11 22:08 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Christoph Gohlke

2022.12.11 16:37 "Re: [Tiff] libtiff v4.5.0 release candidate available", by Bob Friesenhahn

"TIFFReadDirectory: Warning, Didn't read next directory due to IFD looping at offset 0xa7ff1e (11009822) to offset 0x8 (8)."

Error: "Cannot handle more than 65535 TIFF directories"

The test file at <https://github.com/cgohlke/imagecodecs/blob/master/tests/tiff/gray.movie.u2.tif> contains 65567 pages.

This test file reveals something else which is concerning. I ran a profiler on GraphicsMagick while it was reading this file and I see that 53% of the time is being spent in _TIFFCheckDirNumberAndOffset().

Most of the time is being spent in the code associated with "Check if offset is already in the list".

I assumed that most of the time would be spent in GraphicsMagick code.

Bob

Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt