Page 1 of 2
apng plugin problem
Posted: Thu Mar 07, 2024 10:12 pm
by Tuxedo
Hello,
I tryed to load an apng animnation and noticed that I get only the first frame displayed on LoView...
With GIFs no problem and all works fine...
Any idea why?
Re: apng plugin problem
Posted: Thu Mar 07, 2024 10:32 pm
by plouf
Re: apng plugin problem
Posted: Fri Mar 08, 2024 12:33 am
by Tuxedo
yes installed 1.3 and same problem on that apng:
https://apng.onevcat.com/demo/
that was shown only first frame and the:
IsAnim() and also
IsVideo() - (QUESTION ---> the 2 commands was the same?)
command dont recognize it as an Animation.
Bug or something else?
Re: apng plugin problem
Posted: Sun Mar 10, 2024 9:27 pm
by plouf
works here both amigaos68k and windwosx64 HW10
Code: Select all
@REQUIRE "apng"
LoadAnim(1,"elephant.png")
PlayAnim(1)
WaitLeftMouse()
Re: apng plugin problem
Posted: Sun Mar 10, 2024 10:03 pm
by Tuxedo
plouf wrote: ↑Sun Mar 10, 2024 9:27 pm
works here both amigaos68k and windwosx64 HW10
Code: Select all
@REQUIRE "apng"
LoadAnim(1,"elephant.png")
PlayAnim(1)
WaitLeftMouse()
The problem wasnt that the Anim was correctly loaded or not but that since my check with IsAnim or IsVideo fails it was loaded as simple image and not as anim...
SO...why the IsAnim/Video fails?
Re: apng plugin problem
Posted: Sun Mar 10, 2024 10:15 pm
by plouf
i dont know about
IsAnim() maybe a bug
but in first post you said you see only first frame, i can see elephant running (all frames)
also isAnim = anims (gif/apng) siVideo (mpg avi etc)
Re: apng plugin problem
Posted: Sun Mar 10, 2024 10:30 pm
by plouf
ok about
IsAnim()
correct is isAnim("elephant.png")
Re: apng plugin problem
Posted: Mon Mar 11, 2024 12:38 am
by Tuxedo
plouf wrote: ↑Sun Mar 10, 2024 10:30 pm
ok about
IsAnim()
correct is isAnim("elephant.png")
Hum....
I tryed to put the apng plugin directly in the LoView directory and now works....but that was weird since other plugins was loaded from standard libs:hollywood directory...
any idea why?
Re: apng plugin problem
Posted: Mon Mar 11, 2024 6:38 am
by plouf
Plugin in libs is older version ?
How do you compile ? Localy or cross compile from pc? Maybe is not in linkerplugins in that case
Re: apng plugin problem
Posted: Mon Mar 11, 2024 3:08 pm
by Tuxedo
plouf wrote: ↑Mon Mar 11, 2024 6:38 am
Plugin in libs is older version ?
How do you compile ? Localy or cross compile from pc? Maybe is not in linkerplugins in that case
Hum sorry...for some reason I disabled the GlobalPlugins @OPTION and so no pluginn loaded globally...really dunno why was commented out...
Now the elephant.apng works ok.
BTW...now I got another problem I?ve another apng that gives me the error:
"Error loading animation frame!"
So...that was a real problem or still some my fault?