broken support for chroma-subsampled images

Currier, Michael Gilman mgcurri at emory.edu
Fri Mar 17 08:58:38 EDT 2017


I can confirm that when we ran into this error, installing OpenJPEG 2.1.1 on our CentOS machines fixed the problem.


~Michael



________________________________
From: openslide-users <openslide-users-bounces+mgcurri=emory.edu at lists.andrew.cmu.edu> on behalf of Benjamin Gilbert <bgilbert at cs.cmu.edu>
Sent: Thursday, March 16, 2017 11:46:16 PM
To: openslide-users at lists.andrew.cmu.edu
Subject: Re: broken support for chroma-subsampled images

On Thu, Mar 16, 2017 at 08:54:22PM +0000, Coudray, Nicolas wrote:
> openslide.lowlevel.OpenSlideError: Cannot read this file because your OS
> vendor ships a modified version of OpenJPEG with broken support for
> chroma-subsampled images.  OpenJPEG error: Error decoding tile.  Component
> 1 contains only 32768 blocks while component 0 has 65536 blocks
>
> We tried to download openslide from the 3.4.1 source and also via the
> distribution packages.  We tried to upgrade to openjpeg 2.1.1 as suggested
> on some forums, but it hasn't solved the problem.
>
> Our system is
>     CentOS Linux release 7.3.1611 (Core)

Hi Nicolas,

The RHEL 7 bug report is marked ON_QA, so I'm assuming Red Hat will release
a fixed OpenJPEG package soon.

    https://bugzilla.redhat.com/show_bug.cgi?id=1207473

Until then, the easiest fix is indeed to install OpenJPEG 2.1.x.  After
doing that, you will need to compile OpenSlide from source, and you should
verify that the configure script finds your OpenJPEG 2.x installation.  If
you installed OpenJPEG to /usr/local, you will likely need to run
"export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" before running configure.

--Benjamin Gilbert
_______________________________________________
openslide-users mailing list
openslide-users at lists.andrew.cmu.edu
https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users

________________________________

This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20170317/d24711c8/attachment.html>


More information about the openslide-users mailing list