Hi Greg,

On Tue, Jul 2, 2024 at 12:14 PM Sergei Golovan <sgolo...@gmail.com> wrote:
>
> Hi Greg,
>
> On Sun, Jun 30, 2024 at 5:30 PM greg <gre...@gmx.de> wrote:
>
> > TIFFReadDirectory: Failed to read directory at offset 61824
> >
> > IMG_7898.tiff from tcllib tiff
> >
> > img::tiff 1.4.16 {load /usr/lib/tcltk/x86_64-linux-gnu/Img1.4.16/lib...}
> > libtkimgtiff1.4.16.so 22,4 K 09.03.2024
> >
> > with no problems
> > https://sourceforge.net/projects/tkimg/files/tkimg/1.4/tkimg%201.4.16/
>
> I confirm the bug. Looking further, it seems that the fix of
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056751
> in the tiff package somehow interferes with libtk-img. After removing
> the corresponding patch the error is gone.

I've found the culprit: libtk-img computes the size of the TIFF image
file (the size of the open file) by seeking through it, which creates
an unwanted side effect (changing the pointer position) which
interferes with internal libtiff code. I'll upload a fix shortly.

Cheers!
-- 
Sergei Golovan

Reply via email to