Image with no cdef decodes properly ./bin/opj_decompress -i palette.jp2 -o palette.bmp
[INFO] Start to read j2k main header (913). [INFO] Main header has been correctly decoded. [INFO] No decoded area parameters, set the decoded area to the whole image [INFO] Header of tile 1 / 1 has been read. [INFO] Tile 1/1 has been decoded. [INFO] Image data has been updated with tile 1.
[INFO] Stream reached its end ! [INFO] Generated Outfile 0.bmp
With cdef, not decoded : ./bin/opj_decompress -i palette-cdef.jp2 -o palette-cdef.bmp
[INFO] Start to read j2k main header (941). [INFO] Main header has been correctly decoded. [INFO] No decoded area parameters, set the decoded area to the whole image [INFO] Header of tile 1 / 1 has been read. [INFO] Tile 1/1 has been decoded. [INFO] Image data has been updated with tile 1.
[ERROR] Invalid component index 1 (>= 1). ERROR -> opj_decompress: failed to decode image!
cdef box was inserted between the 2 to rotate channels Patch is ready but waiting for other commits as it would conflict. Kakadu decodes this properly
- palette.jp2 16.57KB
- palette-cdef.jp2 16.6KB
- palette.bmp 75.05KB
- palette-cdef.bmp 75.05KB
Comment #1
Posted on Oct 23, 2014 by Quick LionPatch verified against the test suite & ok
- issue412-r2918.patch 1.64KB
Comment #2
Posted on Oct 30, 2014 by Happy RabbitThis issue was closed by revision r2922.
Status: Fixed
Labels:
Type-Defect
Priority-High