Free Support Forum - aspose.com

Pdf to image cmyk?

Is it possible to save pdf pages to CMYK image like jpeg? or is it RGB only?


if possible, which property is set?

thanks.

Hi Lee,


Thanks for your inquiry. After initial investigation we have logged a ticket PDFNEWNET-39189 for your requirement in our issue tracking system for further investigation and resolution. We will keep you updated about the issue resolution progress within this forum thread.

We are sorry for the inconvenience caused.

Best Regards,

Hi Lee,


Adding more to Tilal’s response, you may consider using Aspose.Imaging for .NET API to convert the color space of Jpeg images from sRGB to CMYK as demonstrated in the following piece of code. Please note, the current version (3.0.0) of Aspose.Imaging for .NET API distorts the image a bit while converting the color space. We have already fixed this problem and the fix will be available for public use with upcoming revision of the API that is scheduled for early next week. Once Aspose.Imaging for .NET 3.1.0 is available for your testing, you will be notified here in reference to the ticket IMAGING-34914.

C#

using (JpegImage image = (JpegImage)Image.Load(“D:/input.jpg”))
{
image.JpegOptions.ColorType = JpegCompressionColorMode.CMYK;
image.Save(“D:/output.jpg”);
}

The issues you have found earlier (filed as IMAGING-34914) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.