?
Solved

searching for a GIF decoder

Posted on 2006-07-20
7
Medium Priority
?
312 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 3

Accepted Solution

by:
VMSZealot earned 672 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 664 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 7

Assisted Solution

by:nafis_devlpr
nafis_devlpr earned 664 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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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 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 how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

765 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