.gif file - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html) +--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html) +--- Thread: .gif file (/thread-8982.html) Pages:
1
2
|
.gif file - Champions_2002 - 03-06-2006 How do load two gif files (320x200) side by side I want to be able to load in a gif file also has anybody got a sub to centre text on a screen .gif file - Zack - 03-06-2006 This thing I made seems to work for small strings. Code: DECLARE SUB CenterText (AS STRING,AS INTEGER,AS INTEGER) .gif file - yetifoot - 03-07-2006 does it have to be a gif file? gif is plagued by patent problems, and also it would be easier to load from a bmp or similar. .gif file - Champions_2002 - 03-07-2006 How about a png i want a lot of pics to be loaded in the program so they need to be compressed .gif file - shiftLynx - 03-07-2006 PNG is definitely the best. It carries no royalty requirement, it's lossless, it's an open standard, it supports alpha channels and it supports variable colour depths. It's the perfect image format. .gif file - yetifoot - 03-07-2006 http://www.freebasic.net/forum/viewtopic.php?t=2183&highlight=png Theres some code here for loading a PNG using the FreeImage Library. FreeImage is quite a large dll though. .gif file - Jofers - 03-08-2006 You guys are behind the times. The GIF patent expired in 2003 in the US (and 2004 in other countries). Unisys won't be going after anybody over LZW anymore. It's still a nice file format, and it's well supported around the internet, I use it on websites all the time (I often get better compression than PNG on simple files). I've been thinking about porting the giflib headers and making some binaries. I guess I'll do that now. .gif file - j2krei08 - 03-16-2006 So, are GIF's able to be used on FB? What about animated, interlaced, or other types? .gif file - RyanKelly - 03-16-2006 There are no routines in the FB graphics library for manipulating .gif files, but the file format definition isn't difficult to find, and there may be other libraries available. .gif file - Jofers - 03-16-2006 Ok, I translated giflib: http://www.betterwebber.com/stuff/giflib.zip Which is the main oss used for gif encoding/decoding. Has the capacity for extensions/animations/whatnot, and an example's included to boot. |