garg#1373
I tried following code:
Above code saved a jpg at 400 DPI(if image is in RGB mode)
but if image is in CMYK mode than saved jpg has 96 DPI.
please reply as soon as possible.
Thanks
Natwar Garg
public void SaveImage(String destimg, String destSmallImg, String destThumbImg)
{
Aurigma.GraphicsMill.Codecs.JpegEncoderOptions EncoderOpt = new Aurigma.GraphicsMill.Codecs.JpegEncoderOptions();
EncoderOpt.Quality = 100;
//-----------Convert into CMYK-------
//bitmap = CManagment.ConvertToCMYK(bitmap);
//------------------------------------
//----------Saving in 400 DPI---------//
bitmap.VerticalResolution = 400;
bitmap.HorizontalResolution = 400;
//----------Saving in 400 DPI---------//
bitmap.Save(destimg, EncoderOpt);
SaveThumbImage(destThumbImg, EncoderOpt);
}Above code saved a jpg at 400 DPI(if image is in RGB mode)
but if image is in CMYK mode than saved jpg has 96 DPI.
please reply as soon as possible.
Thanks
Natwar Garg