Does anyone know how I can reliably convert bmps to jpegs with C or C++?
I've looked around but failed to find anything too promising
Thanks
Printable View
Does anyone know how I can reliably convert bmps to jpegs with C or C++?
I've looked around but failed to find anything too promising
Thanks
http://netpbm.sourceforge.net/
You should be able to rip whatever code out of that you need :)
you can also do a google search for the CxImage library, which should be able to do that and a lot more.
Though I believe CxImage is bound to MFC.
The GDI+ is also capable of what you want.
Actually CxImage itself doesn't use MFC, although there are both MFC and non-MFC dlls/libs available.
I found CxImage but I couldn't work out which part I needed and if it would work with only a small part.
I'm looking for this functionality without using too much space for it
thanks :)
But JPEG codecs simply requires some space.
Help me then, :p
I think we did...
If that doesn't suffice, Intel has a JPEG library which is very fast and quite small. You can find it somewhere on developer.intel.com or something like that.
The BMP format is very easy to read and write, you can find everything you need at wotsit.org.