v17 [BUG] - animated png (apng) fails to animate if background=true
#1
Bug 
Not sure if this is a bug but certainly seems to be unless this is expected behavior.

In the image control if background="true" animated PNG files (using the required .apng extension) do not animate.

animated GIF images work fine (animate properly) regardless of the background="true|false" control setting.

Krypton and above now support animated PNG and animated GIF image files.

Appears you are required to use the .apng extension to properly animate PNG files - otherwise only the first frame is shown statically.

Issue is present in the latest nightly of 17.4 and assume bug exists in 32bit and 64bit version of Kodi L* as well - but have not tested to confirm.

setting background="false" or accepting the default by not declaring background= will animate the APNG image fine.

Also tried using a multiimage control with background="true" with an APNG file and it too fails to animate as well.

Code:
<control type="image">
            <posx>35</posx>
            <posy>10</posy>
            <height>110</height>
            <width>375</width>
            <aspectratio align="left">keep</aspectratio>
            <texture background="true">test.apng</texture>
</control>

<control type="multiimage">
            <posx>35</posx>
            <posy>10</posy>
            <height>110</height>
            <width>375</width>
            <aspectratio align="left">keep</aspectratio>
            <imagepath background="true">test.apng</imagepath>
</control>

a test APNG image (will need to change file name .extension to .apng)

Image

Wanted to post here to see if this is expected for some odd reason before reporting bug on https://trac.kodi.tv/

Thanks,

Mario
Reply

Logout Mark Read Team Forum Stats Members Help
[BUG] - animated png (apng) fails to animate if background=true0