Solved

searching for a GIF decoder

Posted on 2006-07-20
7
305 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
0
 
LVL 7

Assisted Solution

by:nafis_devlpr
nafis_devlpr earned 166 total points
Comment Utility
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now