You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Originally reported on Google Code with ID 412
Reported by mayeut on 2014-10-10 22:47:18
- _Attachment: [palette.jp2](https://storage.googleapis.com/google-code-attachments/openjpeg/issue-412/comment-0/palette.jp2)_ - _Attachment: [palette-cdef.jp2](https://storage.googleapis.com/google-code-attachments/openjpeg/issue-412/comment-0/palette-cdef.jp2)_ - _Attachment: [palette.bmp](https://storage.googleapis.com/google-code-attachments/openjpeg/issue-412/comment-0/palette.bmp)_ - _Attachment: [palette-cdef.bmp](https://storage.googleapis.com/google-code-attachments/openjpeg/issue-412/comment-0/palette-cdef.bmp)_
The text was updated successfully, but these errors were encountered: