GIF image handling

Everything else that doesn't fall into one of the other PB categories.
User avatar
GWarner
Enthusiast
Enthusiast
Posts: 605
Joined: Fri Jul 24, 2009 1:34 pm
Location: USA

GIF image handling

Post 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!
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: GIF image handling

Post by IdeasVacuum »

IdeasVacuum
If it sounds simple, you have not grasped the complexity.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: GIF image handling

Post by PB »

Use LoadImageEx() here:

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

No need for plugins, DLLs, etc.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: GIF image handling

Post 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.
User avatar
GWarner
Enthusiast
Enthusiast
Posts: 605
Joined: Fri Jul 24, 2009 1:34 pm
Location: USA

Re: GIF image handling

Post 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.
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: GIF image handling

Post 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".
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: GIF image handling

Post 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
User avatar
GWarner
Enthusiast
Enthusiast
Posts: 605
Joined: Fri Jul 24, 2009 1:34 pm
Location: USA

Re: GIF image handling

Post 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! :)
Post Reply