Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.14.2
-
None
Description
I have been trying to convert all my image formats to webp in my application in order to save space.
When I convert animated gifs to webp, which also supports animations, the conversion produces a still image:
QImage image("image.gif"); // 60 frames QBuffer buffer; { image.save( "image.webp" ); } QImageReader imageReader( "image.webp" ); { imageReader.setDecideFormatFromContent(true); } qDebug() << imageReader.imageCount(); // Produces 1 instead of 60
I would expect that animated gifs converted in QImage, would preserve the animation, or there would be an obvious way to do this in some other way.