Hi Kevin, Murali,

Please review the fix for following bug,

https://bugs.openjdk.java.net/browse/JDK-8209457

Root cause:
BufferedImage is created with ARGB color model while converting from PrismImage 
to JPEG. JPEG doesn't supports alpha channel, which leads to error while 
encoding to JPEG image.

Proposed fix:
HTMl applications passes the destination image mime type, make use of it and 
hardwire the color model as RGB when the mime type is 'image/jpeg'.

webrev: http://cr.openjdk.java.net/~arajkumar/8209457/webrev/

Thanks,
Arun

Reply via email to