Solved

searching for a GIF decoder

Posted on 2006-07-20
7
307 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

912 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

19 Experts available now in Live!

Get 1:1 Help Now