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...
apng plugin problem
Re: apng plugin problem
Christos
Re: apng plugin problem
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.
Simone"Tuxedo"Monsignori, Perugia, ITALY.
Re: apng plugin problem
my code should load AND play
anyway your test.apng with horses do not play, seems ,to me, some incombatibility with hollywood, with compression method used
Code: Select all
@REQUIRE "apng"
LoadAnim(1,"elephant.png")
PlayAnim(1)
WaitLeftMouse()
Christos
Re: apng plugin problem
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...
Simone"Tuxedo"Monsignori, Perugia, ITALY.
- Juan Carlos
- Posts: 920
- Joined: Mon Sep 06, 2010 1:02 pm
Re: apng plugin problem
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
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
Or is configured to use datattpes? (You have apng datatype?)
Yes anim stop to a bird
Christos
- airsoftsoftwair
- Posts: 5626
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: apng plugin problem
It's actually only the very last frame of the anim with the horses that's causing trouble here. Check this:
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.
Code: Select all
LoadAnim(1, "test.png", {FromDisk = True})
PlayAnim(1, 0, 0)
- airsoftsoftwair
- Posts: 5626
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: apng plugin problem
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.