Solved

searching for a GIF decoder

Posted on 2006-07-20
7
310 Views
Last Modified: 2008-02-01
I'm searching for a C++ GIF decoder; I prefer it to be simple and don't need any special options like reading several frames from one file or having to deal with gamma settings or anything that improves quality or so.
The only funtionality I require from it is to read width and height and a buffer containing the RGB (or YUV) values from the pixel data.

Thanks in advance
0
Comment
Question by:stuartdehaan
7 Comments
 
LVL 3

Accepted Solution

by:
VMSZealot earned 168 total points
ID: 17147002
Have a look at this article.  It probably contains more information than you need, since it describes exactly why it does what it does, but it does look very complete - and even contains information for two platforms (Mac & Windows).

http://www.adhocconference.com/papers/2003/Downs.GIFDecoderFinal.pdf
0
 
LVL 1

Author Comment

by:stuartdehaan
ID: 17147272
Thanks, it looks quite interesting but I'm more looking for finished code containing a getbits funtion or similar, implementing GIF support is not the goal in my program, only displaying a particular image.
A guide how to program it is nice but I'm sure there must be freely downloadable c++ libraries which give this support.
It only needs to run in Windows btw, the rest of the program is already incompatible with Macs because... well... they suck :p
0
 
LVL 22

Assisted Solution

by:mahesh1402
mahesh1402 earned 166 total points
ID: 17148383
use 'GifLib' : http://www.catb.org/~esr/giflib/

you will find article with full src code based on GifLib here : http://www.codeproject.com/bitmap/JianImgCtxDecoder.asp

-MAHESH
0
 
LVL 22

Expert Comment

by:mahesh1402
ID: 17148393
0
 
LVL 7

Assisted Solution

by:nafis_devlpr
nafis_devlpr earned 166 total points
ID: 17159116
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question