AWARE [SYSTEMS]
AWare Systems, Home TIFF and LibTiff Mail List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 2019

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



Thread

2019.01.22 15:11 "[Tiff] Possible bug in libTiff 4.0.9?", by SM
2019.01.23 14:14 "Re: [Tiff] Possible bug in libTiff 4.0.9?", by Bob Friesenhahn
2019.01.23 14:43 "Re: [Tiff] Possible bug in libTiff 4.0.9?", by Even Rouault

2019.01.23 14:14 "Re: [Tiff] Possible bug in libTiff 4.0.9?", by Bob Friesenhahn

The buffer that is being passed to the library is of the same size as the whole strip (even in the case of a partial strip). In case of a partial strip, the rest of the buffer is filled with zeros.

Does your application provide a full last-strip to libtiff? With JPEG, it has always been required that the strip-size be a multiple of 8 or 16, depending on the sub-sampling, with a multiple of 16 being a safe choice. The last strip provided to libtiff needs to be a full strip just like the other strips.

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