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

Fail to decompress j2k with openjpeg 2.0.0 #228

Closed
gcode-importer opened this issue Jul 10, 2013 · 5 comments
Closed

Fail to decompress j2k with openjpeg 2.0.0 #228

gcode-importer opened this issue Jul 10, 2013 · 5 comments

Comments

@gcode-importer
Copy link

Originally reported on Google Code with ID 228

What steps will reproduce the problem?
1. attached file is a j2k compressed by IPP Library
2. if I try to decompress this file with the old version of openjpeg
 (Openjpeg 1.5.1) everything goes ok ... line command:
J2K_TO_IMAGE -i wrong.j2k - o wrong.raw

3. if I try to decompress this file with the new version of openjpeg lib 
(Open jpeg 2.0.0) I have the following output
opj_decompress -i wrong.j2k - o wrong.raw

[INFO] Start to read j2k main header (0).
[INFO] Main header has been correctly decoded.
[INFO] No decoded area parameters, set the decoded area to the whole image
[INFO] Psot value of the current tile-part is equal to zero, we assuming it is t
he last tile-part of the codestream.
[INFO] Header of tile 0 / 0 has been read.
ERROR -> opj_decompress: failed to decode image!

Reported by alessandro.ciurlo on 2013-07-10 13:47:16


- _Attachment: [wrong.j2k](https://storage.googleapis.com/google-code-attachments/openjpeg/issue-228/comment-0/wrong.j2k)_
@gcode-importer
Copy link
Author

openjpeg-trunk-r2343:

bin/opj_decompress -i wrong.j2k -o wrong.raw

[INFO] Start to read j2k main header (0).
[INFO] Main header has been correctly decoded.
[INFO] No decoded area parameters, set the decoded area to the whole image
[INFO] Psot value of the current tile-part is equal to zero, we assuming it is the
last tile-part of the codestream.
[INFO] Header of tile 0 / 0 has been read.
[INFO] Tile 1/1 has been decoded.
[INFO] Image data has been updated with tile 1.

Raw image characteristics: 1 components
Component 0 characteristics: 512x512x16 unsigned
Successfully generated Outfile wrong.raw


winfried

Reported by szukw000 on 2013-07-11 19:05:30

@gcode-importer
Copy link
Author

This issue was updated by revision r2408.

Reported by malaterre on 2014-02-25 10:18:55

@gcode-importer
Copy link
Author

This issue was updated by revision r2409.

Reported by malaterre on 2014-02-25 10:30:07

@gcode-importer
Copy link
Author

This issue was closed by revision r2410.

Reported by malaterre on 2014-02-25 10:30:44

  • Status changed: Fixed

@gcode-importer
Copy link
Author

Issue 10 has been merged into this issue.

Reported by malaterre on 2014-03-07 15:11:05

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