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

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

I'm having trouble working with some TIFF images that have the "Old JPEG Support" compression.

The tiffsplit package dumps the following message when I try to use it:

./tools/tiffsplit old-style-jpeg.tif
TIFFReadDirectory: Warning, Unknown field with tag 32931 (0x80a3) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 32934 (0x80a6) encountered.
TIFFReadRawStrip: Compression scheme does not support access to raw uncompressed data.

At first I'd assumed that it wasn't compiled with it, so I tried building it myself. When ./configure is ran (ubuntu) I see the following output:

 Support for external codecs:

  ZLIB support:                       yes
  Pixar log-format algorithm:         yes
  JPEG support:                       yes
  Old JPEG support:                   yes
  JPEG 8/12 bit dual mode:            no
  ISO JBIG support:                   yes
  LZMA2 support:                      yes
  ZSTD support:                       no
  WEBP support:                       no

So it looks like it should be available, but it isn't able to tiffsplit.

On a Windows subsystem, I downloaded the binaries / dependencies from the GnuWin32 project and out of the gate it was able to tiffsplit the same image (with some warnings, but it still was able to work with it).

My question is: how can I get something compiled on ubuntu to get a version of tiffsplit that can better work with these files that I'm having trouble with?

Thanks in advance,