cbinder
cbinder

Reputation: 2506

How to convert an image from .bmp to .png in c++

Is there any open source C++ library using which I can convert an image present in .bmp format to .png . I went through libpng didn't find any way to do it there, while boost/gil looks complex don't know that can be used to do this job.

Upvotes: 3

Views: 4132

Answers (3)

Code Monkey2
Code Monkey2

Reputation: 161

I use CImg for all my image manipulation. Well written, with good documentation.

Upvotes: 0

odedsh
odedsh

Reputation: 2624

I did not see BMP in boost/GIL.. maybe take a look at Magick++ ImageMagick API http://www.imagemagick.org/Magick++/tutorial/Magick++_tutorial.pdf

Also GDK-Pixbuf can certainly do this

Upvotes: 0

VicTheMagician
VicTheMagician

Reputation: 39

Maybe this can help you solve the problem: LodePNG

Upvotes: 1

Related Questions