• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 797
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

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