Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i know how to convert bmp to jpeg file..


CString path = _T("e:\\test.bmp");
CImage *image = new CImage;
HRESULT hResult = image->Load(path);
hResult = image->Save(_T("e:\\test.jpg"));



please help to convert jpeg to bmp..... in vc++
Posted
Updated 25-Jul-14 1:51am
v2

1 solution

The GDI+ Image class provides loading and saving facilities for both formats, see MSDN[^].
 
Share this answer
 
Comments
Bala_subramanyam 25-Jul-14 5:05am    
i am fresher please send me the code in vc++
CPallini 25-Jul-14 5:23am    
You can easy adapt the following MSDN code:
http://msdn.microsoft.com/en-us/library/ms533837(VS.85).aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900