Page 5 of 5

Re: Animation Gadget - last update Dec30

Posted: Wed Dec 23, 2015 12:42 pm
by Kwai chang caine
Is it possible to use your splendid gadget with a windows with image background ?

Re: Animation Gadget - last update Dec30

Posted: Tue Jul 26, 2016 10:48 am
by hss
both links are broken;
any chance of re-up?

Re: Animation Gadget - last update Dec30

Posted: Tue Jul 26, 2016 7:23 pm
by netmaestro
It was among a bunch of stuff I lost last year. If someone has it and can email it to me I'll upload it again but failing that I just don't have it.

Re: Animation Gadget - last update Dec30

Posted: Tue Jul 26, 2016 7:32 pm
by wilbert
I removed my post since it was no longer relevant now the code from netmaestro has been found.

Re: Animation Gadget - last update Dec30

Posted: Tue Jul 26, 2016 8:24 pm
by Demivec
netmaestro wrote:It was among a bunch of stuff I lost last year. If someone has it and can email it to me I'll upload it again but failing that I just don't have it.
I'll post it here for a few weeks (maybe during that time it will be caught by the Wayback Machine :) ).

[temporary link removed]


@Edit: Removed temporary link.

Re: Animation Gadget - last update Dec30

Posted: Wed Jul 27, 2016 12:36 am
by netmaestro
Thanks to davido and Demivec the project is back online! Link in the first post works again and for added safety I've posted the .pbi code there too. So it shouldn't get lost again.

Re: Animation Gadget - last update Dec30 2013

Posted: Sun Jan 22, 2017 11:16 am
by Keya
The code is crashing on all eight animated gifs at this page - https://www.fastcodesign.com/1665547/8- ... -l-reynaud

I don't know the reason for the decoding problem but the reason for the crash is there are two instances of code like the following which assume a valid ptr, but the ptr is null with those images due to decoding problem:

Code: Select all

*this.GifObject = GifObjectFromFile(GetGadgetText(0))  ;<-- search for this line (2 instances)
w=*this\containerwidth
...
Needs to be:

Code: Select all

*this.GifObject = GifObjectFromFile(GetGadgetText(0))
If *this.GifObject  ;check null ptr
   w=*this\containerwidth
   ...
The image still won't render but the crash is fixed.

Re: Animation Gadget - last update Dec30 2013

Posted: Sun Jan 22, 2017 4:52 pm
by JHPJHP
H Keya, netmaestro

Windows 10 / PureBasic 5.51 (x86 / x64)

All eight examples worked from the link Keya provided; didn't make any changes to the code (download from the first post).
- saved GIFs directly to the GifDecoder folder, adding to the existing images

Re: Animation Gadget - last update Dec30 2013

Posted: Sun Jan 22, 2017 9:17 pm
by netmaestro
They're working here too, so I really don't know what could be going wrong for you. Tested on PB 5.51 x86 and x64 Windows 7.

Re: Animation Gadget - last update Dec30 2013

Posted: Tue Jan 24, 2017 9:02 am
by netmaestro
[edit] No longer applicable.

Re: Animation Gadget - last update Dec30 2013

Posted: Tue Jan 24, 2017 10:57 am
by Keya
sorry guys i mustve used been using a modified or older version. I still think that ptr check is good though hehe. brilliant work as always netmaestro!

Re: Animation Gadget - last update Dec30 2013

Posted: Tue Jan 24, 2017 11:53 am
by netmaestro
Thanks Keya, you've taught me a few things along the way and I hold your opinion in high esteem :mrgreen:

Re: Animation Gadget - last update Dec30 2013

Posted: Thu Feb 09, 2017 11:38 pm
by netmaestro
I completed the 24bit version today, code is added to the first post (it's also included in the download along with the original)