1 year ago
#74646
user17312099
QML AnimatedImage uses a lot of memory
I want to display a simple gif using qml (pyside backend), but it uses almost 100-400 mb of memory. Can I display a gif without using this much memory?
Something like telegram Animated images: https://telegram.org/blog/animated-stickers. The size of telegram animated images are six times smaller than the average photo.
Code:
AnimatedImage
{
width: 37
height: 28
scale: 0.7
source: "Icons/gifIcon.gif"
anchors.left: parent.left
anchors.top: parent.top
transform: Translate {x: 17; y: 2}
z: 10
}
qt
qml
pyside
animated-gif
pyside6
0 Answers
Your Answer