[OpenJDK 2D-Dev] <OpenJDK 2D-Dev> Review request for JDK-8143562: JPEG reader returns null for getRawImageType()

Jayathirth D V jayathirth.d.v at oracle.com
Tue Dec 1 10:12:04 UTC 2015


Hi,

 

Please review following fix in JDK9:

 

Bug : https://bugs.openjdk.java.net/browse/JDK-8143562

 

Webrev : http://cr.openjdk.java.net/~jdv/8143562/webrev.00/

 

Issue : We are getting null for ImageTypeSpecifier when we use getRawImageType() API for YCbCr Image.

 

Root cause : When colorspace is YCbCr, there is no condition to create ImageTypeSpecifier in produce() function

 

Solution : Since we add RGB as default ImageType for YCbCr colorspace in getImageTypes() API. Followed same approach

                    and considering it as RGB in getRawImageType().

 

Thanks,

Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20151201/40f89fe9/attachment.html>


More information about the 2d-dev mailing list