How do I convert 24bpp bitmap images to 32bpp color and 16 bpp grayscale bitmap images?
Posted on 2015-01-22
I've got an app that does bitmap analysis.
Currently we've been working against 24bpp bitmaps.
We need to test our code against 32bpp and 16bpp grayscale bitmaps.
We've got a bunch of 24bpp bitmaps as part of our test images.
Ideally, we'd like to use the same images but convert them to the desired
1) What is the best way to accomplish this?
2) Are there any drawing tools (either desktop or web based) which I could use?
(This would be the preferred method.)
3) Our app is a 32 bit unmanaged windows app. It's written in C++ and utilizes the
openCV, boost and GDI+ libraries. How would I do this programmatically?