Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 739
  • Last Modified:

C,C++ code to convert .bmp to .gif

We're looking for C or C++ source code to convert a .bmp file to a .gif file on the windows platform.  We are using WIN32 SKD, not MFC.  I found an executable, "gif2bmp.exe", but it seems old and does not work on certain .gif files.  We would appreciate any code or helpful links.
Many thanks!
0
curve
Asked:
curve
1 Solution
 
nils pipenbrinckCommented:
hm. that's no big deal.

there is a linux library to write the gif files.. I haven't used it myself yet, but it shouldn't be to much work to get it working (two hours or so).

here is a link: http://www.tuxedo.org/~esr/giflib/doc/index.html

reading the bmp file shouldn't be that hard.. if you need help with the bmp loading part let me know.

Nils

0
 
curveAuthor Commented:
You get an 'A' and I get a 'D' for posting the question incorrectly.

I would like the opposite:
C, C++ code for Win32 SDK that converts *.gif* files to *.bmp* files.

Sorry about the confusion.

0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now