xinxinlx / openjpeg

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

Allow alpha channel information to be retained in image #238

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In openjpeg-2.0 the alpha channel information is not included in the final 
image. In opj_jp2_apply_cdef the alpha channel information can be easily 
extracted and retained in the final image.

The attached patch allows for this information to be retained.

Original issue reported on code.google.com by slmis...@gmail.com on 6 Sep 2013 at 10:36

Attachments:

GoogleCodeExporter commented 9 years ago
The attached patch needs updating to avoid accessing outside of the array when 
color->jp2_cdef->n is greater than image->numcomps.

An update to this patch can be found at 
http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=f9d0691129945b6d0657effcec
6e6c440f57a364

Original comment by slmis...@gmail.com on 25 Sep 2013 at 5:55

GoogleCodeExporter commented 9 years ago
This is a fairly large change, since it will impact ABI. What should we do 
about alpha channel in openjpeg ?

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

GoogleCodeExporter commented 9 years ago

Original comment by mathieu.malaterre on 25 Feb 2014 at 3:57

GoogleCodeExporter commented 9 years ago
Merged in r2450. Closing.

Original comment by mathieu.malaterre on 26 Feb 2014 at 5:05