QSvgIOHandler: Add animation support for QMovie/AnimatedImage
Implement the multi-frame QImageIOHandler protocol in
QSvgIOHandler, enabling animated SVGs to be used with QMovie
and QML AnimatedImage.
- Implement imageCount(), nextImageDelay(), loopCount(),
currentImageNumber(), jumpToImage(), jumpToNextImage()
- Support the Animation option in supportsOption()/option()
- read() renders the current animation frame and advances
the frame counter
[ChangeLog][QSvgIOHandler] Animated SVGs can now be used
with QMovie and QML AnimatedImage.
Fixes: QTBUG-66518
Change-Id: Iaa1617166215c73ac75496b84197812062378edb
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>