[webkit] [9] Review request for 8167675: Animated gifs are not working

Arunprasad Rajkumar arunprasad.rajkumar at oracle.com
Wed Nov 9 12:36:44 UTC 2016


Hello Kevin, Guru, Murali,

Please review the below patch.

JIRA: https://bugs.openjdk.java.net/browse/JDK-8167675 <https://bugs.openjdk.java.net/browse/JDK-8167675>

Webrev: http://cr.openjdk.java.net/~arajkumar/8167675/webrev <http://cr.openjdk.java.net/~arajkumar/8167675/webrev>

Analysis: Image frame count is not updated properly after JDK-8153148 <https://bugs.openjdk.java.net/browse/JDK-8153148>. Frame count is an important property which is needed while animating any GIF image.

Solution: WCImageDecoderImpl.getFrameCount() method will be called just before rendering an Image, if we have full image data, then  initiate a image decoding to get number of frames present in the image.

Regards,
Arun


More information about the openjfx-dev mailing list