OpenSlide Unsupported TIFF Compression

Benjamin Gilbert bgilbert at cs.cmu.edu
Wed Jun 15 03:23:15 EDT 2016


On Wed, Jun 15, 2016 at 02:25:09AM -0400, Manan Shah via openslide-users wrote:
> TIFFReadDirectory: Warning, Unknown field with tag 347 (0x15b) encountered.
> image.svs: JPEG compression support is not configured.
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/home/manan/anaconda/lib/python2.7/site-packages/openslide/__init__.py", line 154, in __init__
>     self._osr = lowlevel.open(filename)
>   File "/home/manan/anaconda/lib/python2.7/site-packages/openslide/lowlevel.py", line 178, in _check_open
>     raise OpenSlideError(err)
> openslide.lowlevel.OpenSlideError: Unsupported TIFF compression: 7
> 
> I haven't been able to find any solutions online for this issue; I've
> checked libopenjpeg and any additional relevant libraries to ensure they
> are at their latest respective versions.

Hi Manan,

Your copy of libtiff was apparently compiled without JPEG support.  (That
is, it wasn't linked with libjpeg-turbo or libjpeg.  libopenjpeg is not a
JPEG library; it's a JPEG 2000 library.)  Did you build libtiff yourself?

--Benjamin Gilbert


More information about the openslide-users mailing list