sul-dlss / assembly-image

Creates JP2 image derivatives of files.
Other
0 stars 1 forks source link

TIFF Images with LZW compression failing due to Kakadu binary. #17

Closed calavano closed 5 years ago

calavano commented 5 years ago

TIFF images with LZW compression have been failing since the pull of https://github.com/sul-dlss/assembly-image/pull/10

The version of Kakakdu currently installed in our environment. There was another ticket, https://github.com/sul-dlss/operations-tasks/issues/1804 that was a prerequisite for this.

The Kakadu error itself:

Kakadu Error: The simple TIFF file reader in this demo application can only read uncompressed TIFF files. This has nothing to do with Kakadu itself, of course. If you would like to read compressed TIFF files, however, it should be sufficient to re-compile this application with the symbol "KDU_INCLUDE_TIFF" defined, and link it against the public-domain LIBTIFF library.

My recommendation would be to revert the changes made by https://github.com/sul-dlss/assembly-image/pull/10 as this would probably be quicker than obtaining the license, building, deploying, etc, a working binary of Kakadu.

justinlittman commented 5 years ago

How about only skipping creating temp TIFFs for uncompressed TIFFs as in #18?

calavano commented 5 years ago

That should be fine.