Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenJPEG cannot decode this image #11

Closed
gcode-importer opened this issue Nov 6, 2009 · 3 comments
Closed

OpenJPEG cannot decode this image #11

gcode-importer opened this issue Nov 6, 2009 · 3 comments

Comments

@gcode-importer
Copy link

Originally reported on Google Code with ID 11


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.


Reported by steveicarus on 2009-11-06 17:09:36


- _Attachment: [reference-1024x1024x3-4tiles-YCbCr-4:2:0.jp2](https://storage.googleapis.com/google-code-attachments/openjpeg/issue-11/comment-0/reference-1024x1024x3-4tiles-YCbCr-4:2:0.jp2)_ - _Attachment: reference-1024x1024x3-4tiles-YCbCr-4:2:0.png
![reference-1024x1024x3-4tiles-YCbCr-4:2:0.png](https://storage.googleapis.com/google-code-attachments/openjpeg/issue-11/comment-0/reference-1024x1024x3-4tiles-YCbCr-4:2:0.png)_
@gcode-importer
Copy link
Author

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.

Reported by steveicarus on 2009-11-18 19:31:04

@gcode-importer
Copy link
Author

Hi 

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

Best 
Savinaud Mickael

Reported by savmickael on 2011-11-02 14:13:26

  • Status changed: Fixed

@gcode-importer
Copy link
Author

Please check on your side with these version
Best
Savinaud Mickael

Reported by savmickael on 2011-11-02 14:39:17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants