Export to GitHub

openjpeg - issue #11

OpenJPEG cannot decode this image


Posted on Nov 6, 2009 by Quick Dog

The attached JP2 image is a color image with YCbCr components, the Cb and Cr components subsampled. The image renders fine with kdu_render, but j2k_to_image seems to get stuck in an infinite loop.

What steps will reproduce the problem? 1. j2k_to_image -i reference.jp2 -o foo.ppm

What is the expected output? What do you see instead? I've attached a .png version of the output that I get from kdu_render.

What version of the product are you using? On what operating system? OpenJPEG V2 Alpha, on Linux/x86_64 (SuSE 10.3)

Please provide any additional information below.

Attachments

Comment #1

Posted on Nov 18, 2009 by Quick Dog

It looks like OpenJPEG 1.3 is able to decode these images just fine. The j2k_to_image program doesn't render the colors (it doesn't interpret the colr box to get the color space) but that's better then hanging in an infinite loop.

Comment #2

Posted on Nov 2, 2011 by Massive Wombat

Hi

rev1035 of v1.5 give the desired output rev1036 of trunk give the desired output

Best Savinaud Mickael

Comment #3

Posted on Nov 2, 2011 by Massive Wombat

Please check on your side with these version Best Savinaud Mickael

Status: Fixed

Labels:
Type-Defect Priority-Medium