openJpeg

Philipp Kainz kainz.p at gmail.com
Wed Mar 5 16:12:09 EST 2014


Hi all,

I have posted a workaround to this (or at least a similar) topic earlier this year on github [1].
This issue seems to arise, if Aperio files are stored in JPEG2000 schema 33003 or 33005 compressed manner. 
Benjamin Gilbert filed the bug in the Debian issue tracker, since it seems that this error has propagated to several Linux versions. 

The workaround for now is to downgrade to *libopenjpeg2, version 1.3+dfsg-4.6ubuntu2*, which obviously is just available from the Ubuntu Saucy repository [2].
This solved the problem for me on Debian and Ubuntu.

Alternatively, you can try to compile an earlier version of the openjpeg library yourselves.

Hope this helps. 
Cheers, 
Phil


[1] https://github.com/openslide/openslide/issues/130 
[2] http://packages.ubuntu.com/saucy/libopenjpeg2

On 05 Mar 2014, at 21:59, kris kvilekval <kris at cs.ucsb.edu> wrote:

> 
> I have a Aperio SVS that appear to work on the precompiled windows binaries 
> while not working on a debian wheezy using openslide backported from sid
> 
> apt-get source openslide 
> apt-get build-dep libopenslide-dev
> cd openslide-3.4.0
> dpkg-buildpackage  -uc -us -rfakeroot 
> cd ..
> dpkg -i libopenslide0_3.4.0-1_amd64.deb  libopenslide-dev_3.4.0-1_amd64.deb
> 
> which seemed to work well...
> 
> However I am getting the error on some files (not all):
> 
> OpenSlideError: OpenJPEG error: Error decoding tile. Component 1 contains only 32768 blocks while component 0 has 65536 blocks
> 
> 
> When I checked the version of OpenJPEG, it appears to be the latest available.
> 
> # apt-cache policy libopenjpeg2
> libopenjpeg2:
>  Installed: 1.3+dfsg-4.7
>  Candidate: 1.3+dfsg-4.7
>  Version table:
> *** 1.3+dfsg-4.7 0
>        500 ftp://ftp.ucsb.edu/pub/mirrors/linux/debian/ wheezy/main amd64 Packages
> 
> 
> Do the windows binaries use a different version of openJpeg.. has anybody else seen a similar problem?
> 
> Thanks,
> Kris 
> 
> _______________________________________________
> openslide-users mailing list
> openslide-users at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users



More information about the openslide-users mailing list