[OpenJDK 2D-Dev] Review Request for bug (JDK-8080287): The image of BufferedImage.TYPE_INT_ARGB and BufferedImage.TYPE_INT_ARGB_PRE is blank

prasanta sadhukhan prasanta.sadhukhan at oracle.com
Mon Jun 22 09:36:11 UTC 2015


Hi ,

Please review a fix for this issue:
It was found that RescaleOp on image with different alpha cannot render 
the image as there is a particular flaw in RescaleOp implementation 
whereby the source alpha channel is never
transferred to the destination if the rescale op is performed in java 
(or is never populated, if source image has no alpha channel), resulting 
in fully transparent destination image.
Fix is to make sure the unscaled source alpha is transferred to 
destination alpha channel.

Bug: https://bugs.openjdk.java.net/browse/JDK-8080287
webrev: http://cr.openjdk.java.net/~psadhukhan/8080287/webrev.00/

Regards
Prasanta



More information about the 2d-dev mailing list