Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. AnimatedImage QML Type not working as expected
Qt 6.12 LTS is out! See what's new in the release blog

AnimatedImage QML Type not working as expected

Scheduled Pinned Locked Moved Solved QML and Qt Quick
1 Posts 1 Posters 874 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bozo
    wrote on last edited by bozo
    #1

    Hi, I tried to use the AnimatedImage QML type to display an animation. The file-format is webp. When playing the animation, no matter if automatic or manually with a slider, there are always some frames displayed at the same time. I managed to reproduce this on linux and windows with different files. In browser the animation plays correctly. This happens using Qt 5.12.3

    Any ideas on how to fix this would be appreciated.

    EDIT: Fixed it by uploading the animation to an online webp maker and checking 'don't stack frames (Remove the frame when it's time to display next one, use for images with transparent background)'. There was no such option in my image editing programm.

    Link to the animation for you to test on google drive.

               AnimatedImage {
                   source: "qrc:/../../star.webp"
                    anchors.fill: parent
               }
    

    Screenshot of the bug:
    webp_bug_qt.png

    1 Reply Last reply
    1

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt
    • Unsolved