apng plugin problem

Report any Hollywood bugs here
plouf
Posts: 580
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: apng plugin problem

Post 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...
Christos
User avatar
Tuxedo
Posts: 355
Joined: Sun Feb 14, 2010 12:41 pm

Re: apng plugin problem

Post 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.
Simone"Tuxedo"Monsignori, Perugia, ITALY.
plouf
Posts: 580
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: apng plugin problem

Post 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
Christos
User avatar
Tuxedo
Posts: 355
Joined: Sun Feb 14, 2010 12:41 pm

Re: apng plugin problem

Post 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...
Simone"Tuxedo"Monsignori, Perugia, ITALY.
User avatar
Juan Carlos
Posts: 920
Joined: Mon Sep 06, 2010 1:02 pm

Re: apng plugin problem

Post by Juan Carlos »

Using my little tool VAMP, I can see to horses in the seaside, but the animations is stopped with a bird.
plouf
Posts: 580
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: apng plugin problem

Post 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
Christos
User avatar
airsoftsoftwair
Posts: 5615
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: apng plugin problem

Post 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.
User avatar
airsoftsoftwair
Posts: 5615
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: apng plugin problem

Post 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.
Post Reply