xinxinlx / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

Fail to decompress j2k with openjpeg 2.0.0 #228

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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!

Original issue reported on code.google.com by alessand...@gmail.com on 10 Jul 2013 at 1:47

Attachments:

GoogleCodeExporter commented 9 years ago
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

Original comment by szukw...@arcor.de on 11 Jul 2013 at 7:05

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r2408.

Original comment by mathieu.malaterre on 25 Feb 2014 at 10:18

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r2409.

Original comment by mathieu.malaterre on 25 Feb 2014 at 10:30

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2410.

Original comment by mathieu.malaterre on 25 Feb 2014 at 10:30

GoogleCodeExporter commented 9 years ago
Issue 10 has been merged into this issue.

Original comment by mathieu.malaterre on 7 Mar 2014 at 3:11