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
Solved

searching for a GIF decoder

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

828 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