2020.03.16 17:56 "[Tiff] Old-Style JPEG Support", by Levi Wilson

2020.03.17 13:10 "Re: [Tiff] Old-Style JPEG Support", by Bob Friesenhahn

Pulling from the tarball and just running ./configure && make && make install worked and that version is able to split the files for me...thanks!

We only pretty much use tiffspilt to for this precise reason (to get individual pages out of a TIFF file)...should this version only be used as a fallback mechanism when we fail in the other manner or could we just use this for everything as the lowest common denominator? I'm not familiar enough with the variances in these releases to know if we'd be missing out on anything / how old this release is.

Last thing I wasn't sure about is when I ran ./configure it said this:

 Support for external codecs:

  ZLIB support:                       yes
  Pixar log-format algorithm:         yes
  JPEG support:                       yes
  Old JPEG support:                   no

The "no" for "Old JPEG support" seemed odd; what would I need to get that enabled? That being said, it still seemed to have been able to read the files even though they're "Compression Scheme: Old-style JPEG"

Due to the fact that no one should be using old JPEG format any more, enabling support requires passing a --enable-old-jpeg argument to configure.

It does seem strange if old JPEG still works even when not explicitly enabled.

The problem you ran into is almost certainly due to defensive code added to libtiff which avoids security issues (crashes and/or possible injected code execution) by refusing to use improper combinations of parameters.

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