Android Question APNG file does'nt work

Mattyeux

Member
Licensed User

Attachments

  • animated.png
    animated.png
    33.9 KB · Views: 314

Erel

B4X founder
Staff member
Licensed User
Longtime User
The good news is that I've investigated it and I know why it fails and I also know what shall be done to make it work.

The bad news is that adding support for such APNGs, with good performance, is considerably more complicated than the current implementation.

There are two types of APNGs, there are images where each frame replaces the previous one and there are images where the images are stacked in all kinds of ways. For now, only the first type is supported.
I will add a message about it.
 
Upvote 0

Mattyeux

Member
Licensed User
Thank you for your reply,

I didn't know there are two types of APNG, I created mine with APNG Assembler and indeed I see that it stores frame differences instead of full frames to keep the file size small.

The bad news is that adding support for such APNGs, with good performance, is considerably more complicated than the current implementation.
Do you think you can make an update to support these files?
 
Upvote 0

Mattyeux

Member
Licensed User
The animation work is great but I have one last remark

When I create an APNG file I can choose if it plays indefinitely or a number of loops
Could you apply this to animation? or maybe have properties to set the number of loops? or better, an event that raises when the lopp is over.

it seems you like chalenges so i'm trying my luck ;)
 
Upvote 0
Top