Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. AnimatedImage QML Type not working as expected
Forum Updated to NodeBB v4.3 + New Features

AnimatedImage QML Type not working as expected

Scheduled Pinned Locked Moved Solved QML and Qt Quick
1 Posts 1 Posters 386 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 3 Dec 2019, 20:30 last edited by bozo 12 Apr 2019, 08:40
    #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

    1/1

    3 Dec 2019, 20:30

    • Login

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