Ubuntu 14.04, Jpeg2000 and Openslide

Benjamin Gilbert bgilbert at cs.cmu.edu
Tue Sep 1 22:04:47 EDT 2015


On 08/25/2015 05:55 PM, David Gutman wrote:
> I am getting this error:  opj_j2k_apply_nb_tile_parts_correction error
> when I try an open a file.

Hi David,

It seems that in OpenJPEG master, unlike in OpenJPEG 2.1.0, opj_decode() 
expects to be able to seek backward in a stream. OpenSlide's stream 
implementation didn't support this, so decoding failed.  This is now 
fixed in OpenSlide master:

     https://github.com/openslide/openslide/commit/64017b5d

Thanks for catching this early!

--Benjamin Gilbert



More information about the openslide-users mailing list