MSDN2005中CImage类的实例:
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.chs/dv_vcsample/html/4b6a0e30-5e37-4ef2-ae84-061540fa80e2.htm
使用这个类首先要在stdafx.h中添加 #include <atlimage.h>。
将bmp另存为jpg:
显示jpg:
MSDN2005中CImage类的实例:
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.chs/dv_vcsample/html/4b6a0e30-5e37-4ef2-ae84-061540fa80e2.htm
使用这个类首先要在stdafx.h中添加 #include <atlimage.h>。
将bmp另存为jpg:
显示jpg: