Failed to get correct layer count for Aperio images

Benjamin Gilbert bgilbert at
Tue Mar 22 23:47:14 EDT 2016

On Tue, Mar 22, 2016 at 04:26:37PM -0500, Ginger Han via openslide-users wrote:
> Cannot read this file because your OS vendor ships a modified version of
> OpenJPEG with broken support for chroma-subsampled images.
> Then I searched for this error and found out it is due to OpenJPEG patch.
> I have OpenJPEG 1.5.1-10.el7, OpenSlide 3.4.1-.el7 installed on my RedHat server.
> Should I downgrade OpenJPEG to a version lower than 1.3.1 as suggested in the bug post: 
> OR…. should I upgrade OpenJPEG to 2.1.0????

I think the original RHEL 7 package of OpenJPEG is broken, which means that
there isn't any working version in RHEL 7 to downgrade to.  It's probably
easiest to install OpenJPEG 2.1.0, but then you'll also need to build
OpenSlide from source.

If you have a Red Hat support contract, please ask them to fix this bug:

--Benjamin Gilbert

More information about the openslide-users mailing list