[OpenJDK 2D-Dev] [8] request for review: 8005930: [lcms] ColorConvertOp: Alpha channel is not transferred from source to destination.

Phil Race philip.race at oracle.com
Wed Apr 3 20:29:59 UTC 2013


That will fix the problem and is good enough for now, but it would be
better if there was a way to have native take an option to either ignore
(as now) or transfer an alpha channel. If this requires some changes
to LittleCMS we can try asking on the appropriate list. You may
want to file another bug to track it as a performance issue.

-phil.

On 3/7/2013 4:21 AM, Andrew Brygin wrote:
> Hello,
>
> could you please review a fix for 8005930?
>
> Bug: http://bugs.sun.com/view_bug.do?bug_id=8005930
> Webrev: http://cr.openjdk.java.net/~bae/8005930/8/webrev.00/
>
> Lcms color transform routine ignores any non-color channels
> in processed images. So if destination image has alpha, then
> we have to fall back to per-pixel image processing, which
> handles alpha correctly.
>
> Please take a look.
>
> Thanks,
> Andrew.




More information about the 2d-dev mailing list