CxImage image; image.Load("C:\\screen.bmp", CXIMAGE_FORMAT_BMP); if (image.IsValid()){ if(!image.IsGrayScale()) image.IncreaseBpp(24); image.SetJpegQuality(80); image.Save("C:\\screen.jpg",CXIMAGE_FORMAT_JPG);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)