Page 2 of 2
Re: apng plugin problem
Posted: Mon Mar 11, 2024 3:28 pm
by plouf
you dont provide enought info ..
provide apng to test..
also have you test it with minimal code ? i have provide a minimal working code a few post above, does works using this code ?
all these info help...
Re: apng plugin problem
Posted: Mon Mar 11, 2024 5:18 pm
by Tuxedo
plouf wrote: ↑Mon Mar 11, 2024 3:28 pm
you dont provide enought info ..
provide apng to test..
also have you test it with minimal code ? i have provide a minimal working code a few post above, does works using this code ?
all these info help...
I tested on windows your code and get same problem/error that on mine(that btw loads simply the file nothing more)...
You can download the file here:
https://app.box.com/s/hsxqxna7t3f61i6oz5lmwfjlrd9xpm6p
Thank you.
Re: apng plugin problem
Posted: Mon Mar 11, 2024 8:11 pm
by plouf
my code should load AND play
Code: Select all
@REQUIRE "apng"
LoadAnim(1,"elephant.png")
PlayAnim(1)
WaitLeftMouse()
anyway your test.apng with horses do not play, seems ,to me, some incombatibility with hollywood, with compression method used
Re: apng plugin problem
Posted: Mon Mar 11, 2024 8:38 pm
by Tuxedo
plouf wrote: ↑Mon Mar 11, 2024 8:11 pm
my code should load AND play
I mean that my code simply fail while loading(it will also play but since fails to load stops there)...no other things...sorry if misswrite.
BTW was ok that the problem was replicable...
Re: apng plugin problem
Posted: Tue Mar 12, 2024 5:57 pm
by Juan Carlos
Using my little tool VAMP, I can see to horses in the seaside, but the animations is stopped with a bird.
Re: apng plugin problem
Posted: Tue Mar 12, 2024 6:00 pm
by plouf
Is this tool a hollywood app? If yes what apng plugin uses ?
Or is configured to use datattpes? (You have apng datatype?)
Yes anim stop to a bird
Re: apng plugin problem
Posted: Mon Mar 18, 2024 3:15 pm
by airsoftsoftwair
It's actually only the very last frame of the anim with the horses that's causing trouble here. Check this:
Code: Select all
LoadAnim(1, "test.png", {FromDisk = True})
PlayAnim(1, 0, 0)
If you use this code, the anim will play but it will abort when the last frame is to be loaded. I'll check what's wrong there. Maybe the last frame is corrupted or something.
Re: apng plugin problem
Posted: Fri Sep 13, 2024 9:59 pm
by airsoftsoftwair
I've examined this now and the APNG file you provided is definitely corrupted. The header says it has 75 frames but the frames just stop after frame 43. I've tried to play it using Firefox, Chrome & XnView and they all stop playing after frame 43. So no bug in the APNG plugin here but the anim is corrupt.