Page 1 of 1

GIF image handling

Posted: Sun Oct 24, 2010 12:09 am
by GWarner
Does anyone know if there are plans to GIF image handling to PureBasic or better yet does anyone know of where I might find a library or code that would allow me to handle GIF images?

Thanks!

Re: GIF image handling

Posted: Sun Oct 24, 2010 12:18 am
by IdeasVacuum

Re: GIF image handling

Posted: Sun Oct 24, 2010 1:03 am
by PB
Use LoadImageEx() here:

http://www.purebasic.fr/german/viewtopic.php?t=12155

No need for plugins, DLLs, etc.

Re: GIF image handling

Posted: Sun Oct 24, 2010 12:11 pm
by djes
There has been some code recently, there : http://www.purebasic.fr/english/viewtop ... 75&start=0
and elsewhere but I don't find it.

Re: GIF image handling

Posted: Sun Oct 24, 2010 4:48 pm
by GWarner
IdeasVacuum wrote:This looks interesting: http://www.purebasic.fr/english/viewtop ... 05&start=0
It does, unfortunately that was posted seven years ago and the file is no longer available.
PB wrote:Use LoadImageEx() here:
Since the GIFs will be pulled from the internet for this project, CatchImageEx() will be the more useful, but these definitely look like the way to go for now. Thanks!
djes wrote:There has been some code recently, there : http://www.purebasic.fr/english/viewtop ... 75&start=0
These look interesting but they are also more than I need since in this project I'll only be dealing with static images. Thanks anyway!
djes wrote:and elsewhere but I don't find it.
In a way that's not surprising. Unless the PureBasic team changed it, I believe the smallest word phpBB indexes for searching is four characters which means you won't be able to search for words like BMP, JPG, PNG, and GIF.

Re: GIF image handling

Posted: Sun Oct 24, 2010 5:51 pm
by c4s
GWarner wrote:In a way that's not surprising. Unless the PureBasic team changed it, I believe the smallest word phpBB indexes for searching is four characters which means you won't be able to search for words like BMP, JPG, PNG, and GIF.
Yes, the forum search is often a pain. You could use "gif*" or even better: go to your favorite search engine and search for something like "site:purebasic.fr gif".

Re: GIF image handling

Posted: Sun Oct 24, 2010 5:52 pm
by Vera
GWarner wrote:the smallest word phpBB indexes for searching is four characters which means you won't be able to search for words like BMP, JPG, PNG, and GIF.
Yes - but it doesn't mean that gif* would fail eather :wink: [have a try]

besides you can find some additional search alternatives on board as well

cheers ~ Vera

Re: GIF image handling

Posted: Sun Oct 24, 2010 9:23 pm
by GWarner
c4s wrote:Yes, the forum search is often a pain. You could use "gif*" or even better: go to your favorite search engine and search for something like "site:purebasic.fr gif".
Yes, I had thought of using Google to search the forum, however, the code that PB pointed to looks like it will suite my needs perfectly.

Thanks everyone for the input! :)