Page 2 of 5

Re: Animation Gadget - updated Dec 13

Posted: Fri Dec 13, 2013 11:50 am
by wilbert
netmaestro wrote:@Wilbert, I'd try swapping SourceColor and TargetColor in the callback and see what that does. Based on the images you posted, they're exactly the opposite of what they should be. If that fixes it, I think it's worth a bug report on Mac.
I just remembered this
http://www.purebasic.fr/english/viewtop ... 24&t=55809
i was hoping it would be fixed for 5.21 but apparently the bug still exists :(

Re: Animation Gadget - updated Dec 13

Posted: Fri Dec 13, 2013 5:37 pm
by kvitaliy
Why on PureBasic there is no Gif encoder animated gifs?

Re: Animation Gadget - updated Dec 13

Posted: Fri Dec 13, 2013 6:32 pm
by netmaestro
Two reasons. For years it was because of licensing issues, with the copyright holder asserting its rights on the format. Fred won't touch something like that with a ten-foot pole. After that was resolved and people using the gif format could again breathe easy, it was decided that the format was too outdated to invest much time and resources on. It really isn't an easy thing to add to a language. UseGIFDecoder() springs instantly to mind but all the other Use commands produce an image. A gif file is much more than an image and an object would have to be designed and several commands written to manipulate its data and properties. No quick or simple thing to knock off in a day or two. All in all I don't expect to see it in the foreseeable future based on the total body of communications from the executive suites high atop Fantaisie Towers over the past 8 years or so.

Re: Animation Gadget - updated Dec 13

Posted: Sat Dec 14, 2013 12:34 am
by luis
Nice work, thanks :)

Re: Animation Gadget - updated Dec 13

Posted: Sat Dec 14, 2013 12:39 am
by netmaestro
Unfortunately, based on testing from Wilbert, I'll have to take Mac OS X off the masthead for now. Maybe in future it will be more compatible. A bit frustrating because it *should* work based on the docs for all commands used. But the Mac version of PB doesn't see a fraction of the testing that the Windows version does, so that's probably part of it. So far so good on Linux afaik.

Re: Animation Gadget - last updat Dec 14

Posted: Sun Dec 15, 2013 1:29 am
by netmaestro
Update Dec 14, new examples of more challenging gif files.

Re: Animation Gadget - last updat Dec 14

Posted: Mon Dec 16, 2013 3:46 pm
by Kwai chang caine
What i see !!!! :shock:
I not coming since several day, and they are two splendids code for manage the GIF, yours and wilbert code 8)
Since this time your decoder have much advanced :shock:
And it is perfect
All my gif works very well...i'm so happy :D

For me this adding to PB, is the second most important, since the COMATE of SROD 8)

I don't know how thanks you ????
Perhaps if i not continue to ask stupids questions :mrgreen:

But i have one more question, believe you it's possible to copy Animated GIF in clipboard, and paste it into your splendid gadget ??
PS of KCC wrote:They are numerous years, you call me "GrassHopper"
http://www.purebasic.fr/english/viewtop ... 98#p225698
And i not really understand what is it :shock:
I search on google and find that :
Image
And this last days, i see to google, the birthday of "Grace hopper" cobol creator :shock:
Image
I thought, in fact, it was from her that you spoke :mrgreen:
When i say that KCC, is very sick or stupid :oops:

Re: Animation Gadget - last updat Dec 14

Posted: Mon Dec 16, 2013 7:46 pm
by netmaestro
In the 1975 television show Kung Fu, the lead character was Kwai Chang Caine, who had entered the Shao Lin temple as a young boy. His favourite teacher there was blind. When they first met, Master Po asked the young boy, "what do you hear?" and didn't get a satisfactory answer. He then said, "do you hear the grasshopper at your feet?" and young Kwai Chang looked down to see that there was indeed a grasshopper down at his feet. Master Po laughed at his amazement, and from then on his favourite name for young Kwai Chang was "grasshopper".

Dropping a file onto the gadget should be no problem, I'll see if I can get that in for the next update.

btw, Fred wants to keep the forums about PureBasic. Posting pictures of hot babes making selfies at their computers will just get everyone all distracted... :lol:

Re: Animation Gadget - last update Dec 16

Posted: Tue Dec 17, 2013 3:02 am
by netmaestro
Update today, bug fixes only.

Re: Animation Gadget - last update Dec 17

Posted: Tue Dec 17, 2013 11:46 am
by Kwai chang caine
btw, Fred wants to keep the forums about PureBasic. Posting pictures of hot babes making selfies at their computers will just get everyone all distracted...
:lol: :lol:
Netmaestro wrote:and young Kwai Chang looked down to see that there was indeed a grasshopper down at his feet. Master Po laughed at his amazement, and from then on his favourite name for young Kwai Chang was "grasshopper".
Decidedly NETMAESTRO....since i know you, all the day i not stop to admire you :shock:
In programming it's not very hard, because i code like a wafer :oops:
But even in one of my favorite subject....Kung-fu...i do not remember this sequence of "GrassHoper" :shock:
If a day i see another time this movie, i think again obviously to you now... :wink:
MasterOfTheNet wrote:Dropping a file onto the gadget should be no problem, I'll see if I can get that in for the next update.
Cool, in fact my dream since several years, is to can copy into the clipboard the animated gif, with the mouse for exampler in a web page.
And with the code paste it....or vice versa
Because they are several years i have create a little code for put smiley everywhere is possible, like outlook express for exampler.
And when i have try to load in memory the smilley with PB, it's at this moment i have understand that never, i can ending my code :cry:
I don't know if what i want is possible ????

Re: Animation Gadget - last update Dec 18

Posted: Wed Dec 18, 2013 8:47 am
by netmaestro
New update today, see first post for details. Thanks to all who've contributed gifs, it's appreciated.

Re: Animation Gadget - last update Dec 18

Posted: Wed Dec 18, 2013 10:14 am
by Kwai chang caine
I have try all and all works
Someone are splendid , i love the dog 8)
I have recognize you lying down :mrgreen:
And i like also the train...it a very long train, after two hours i have not see the end :?
And too much funny the elephant :lol: :lol:
Thanks Netmaestro for your great works 8)

Re: Animation Gadget - last update Dec 18

Posted: Wed Dec 18, 2013 2:49 pm
by davido
netmaestro wrote:New update today, see first post for details. Thanks to all who've contributed gifs, it's appreciated.

Thank you for your generosity: it must be Christmas-time! :D

So it is: Merry Christmas.

Re: Animation Gadget - last update Dec 18

Posted: Wed Dec 18, 2013 11:52 pm
by minimy
Very usefull code! Thanks!
And merry Christmas! :wink:

Re: Animation Gadget - last update Dec 19

Posted: Fri Dec 20, 2013 9:24 am
by Kwai chang caine
the programmer wafer wrote:Cool, in fact my dream since several years, is to can copy into the clipboard the animated gif, with the mouse for exampler in a web page.
And with the code paste it....or vice versa
Just for information...
Can you tell me NETMAESTRO, if you think it's a day possible to do my dream with your splendid code :oops: