-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.10.0 Beta1
-
None
Some files can lead to unnecessarily inefficient key frame animations in Qt Quick. This has been seen especially with files converted from Lottie and saved using the Keyshape app such as lady 2.svg ("Female avatar" by Olena Tieriekhova).
Seen in the output here, there are very many PauseAnimations in a sequence which could easily be compressed to a single one.
There may also be other opportunities if two subsequent frames are identical or almost identical, but this has not been checked for this file.
The compression might even be possible in Qt SVG itself, or at least in VectorImage, where the cost of additional animations is higher since it goes through the whole QML + Qt Quick pipeline.