16,473
社区成员
发帖
与我相关
我的任务
分享
Bitmap bitmap(pImage->Width, pImage->Height);
Graphics* pGraphics = Graphics::FromImage(&bitmap);
pGraphics->DrawImage(pImage, RectF(0,0,pImage->Width, pImage->Height));
//在此处画文字等等其他操作
//保存成jpg
bitmap.Save(_T("C:\\test.jpg"), &jpgClsid, NULL);