can anybody tell me how to convert a jpg image to a 24 bit bmp image
C / C++ / MFC
4
Posts
4
Posters
0
Views
1
Watching
-
can anybody tell me how to convert a jpg image to a 24 bit bmp image thanks in advance
-
can anybody tell me how to convert a jpg image to a 24 bit bmp image thanks in advance
See CImage::Save.
-
can anybody tell me how to convert a jpg image to a 24 bit bmp image thanks in advance
-
If you are using GDI+, it is easy. Load the image using GDI+, and save as "JPEG" with the compression required. GDI+ supports BMP, PNG, TIF, JPG, GIF. Make sure you initialize GDI+ first and use the encoders. The following MSDN doc shows how to load BMP and save to PNG. With minor changes, your can save to JPG http://msdn2.microsoft.com/en-us/library/ms533837.aspx