如何在visual c ++中将jpeg图像转换为bmp [英] how to convert jpeg image to bmp in visual c++
本文介绍了如何在visual c ++中将jpeg图像转换为bmp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道如何将bmp转换为jpeg文件..
CString path = _T(e:\\ test.bmp);
CImage * image = new CImage;
HRESULT hResult = image-> Load(path);
hResult = image->保存(_T(e:\\test.jpg));
请帮助将jpeg转换为bmp ..... in vc ++
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++
推荐答案
GDI + Image
类为两种格式提供加载和保存工具,请参阅 MSDN [ ^ ]。
The GDI+ Image
class provides loading and saving facilities for both formats, see MSDN[^].
这篇关于如何在visual c ++中将jpeg图像转换为bmp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文