How can I draw text (with setting font and size) on image and save it as JPEG?
For example
CBitmap bitmap;
bitmap.CreateBitmap(width, height, 1, 32, rgbData);
Here I want to draw some text on bitmap:
CImage image;
image.Attach(bitmap);
image.Save(_T("C:\\test.bmp"), Gdiplus::ImageFormatJPEG);