Export to GitHub

openjpeg - issue #414

Image with per channel alpha (cdef) does not decode properly


Posted on Oct 16, 2014 by Quick Lion

./bin/opj_decompress -i ../../5C-cdef.jp2 -o 0.bmp

[INFO] Start to read j2k main header (131). [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

Incorrect colors in output image (with alpha channels dropped for bmp)

Incorrect ouput image : 0.bmp Correct output image : 5C-cdef.bmp (kakadu & patched openjpeg)

Attachments

Comment #1

Posted on Oct 16, 2014 by Quick Lion

Patch verified against Test Suite & OK

Comment #2

Posted on Oct 23, 2014 by Quick Lion

Update patch for r2918 Patch verified against Test Suite & OK

Attachments

Comment #3

Posted on Oct 30, 2014 by Happy Rabbit

This issue was closed by revision r2921.

Status: Fixed

Labels:
Type-Defect Priority-Medium