We are inserting a photo and are saving the document as PDF … for printing.
How do we convert the photo to CMYK so we do not have color shift at the printers? Here is our code.
System.Drawing.Image foto = System.Drawing.Image.FromFile(photoPath);
double fotoWidth = ConvertUtil.PixelToPoint(foto.Width, foto.HorizontalResolution);
double fotoHeight = ConvertUtil.PixelToPoint(foto.Height, foto.VerticalResolution);
double marginLeft = (photoConfig.width - fotoWidth) / 2;
double left = photoConfig.left + marginLeft;
Shape coverPhoto = builder.InsertImage(photoPath,
RelativeHorizontalPosition.Page, left,
RelativeVerticalPosition.Page, photoConfig.top,
-1, -1, WrapType.None);
Adobe Acrobat Pro indicates the image is ColorSpace: DeviceRGB.
We are having color Shift issues. Any recommendations would help greatly.