We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Save PDF for Printing and the CMYK Color Mode using Aspose.PDF for .NET

Our Printer indicates that we have RGB images in our PDF. Is there a setting so we can save the PDF so all images (The entire PDF) are in the CMYK color mode.

The printer said we could have issues with Gamut. Please explain and provide a code snippet recommendation in C#.

Also, what is Flattening? Would this be recommended.

Thanks in advance.

@adventurousbooks

Thank you for contacting support.

A ticket with ID PDFNET-46310 is already logged in our issue management system for further investigations about RGB to CMYK color space. We have attached this ticket to your thread and will inform here as soon as any update will be available in this regard. Moreover, flatten method is irrelevant in this context because it is used to place form fields or annotation on a page.

@adventurousbooks

You can also try converting PDF to PDF/X_1a in order to convert images to CMYK color mode. Please check following code snippet:

Export PDF in CMYK Colorspace

pdfDocument.Convert(dataDir+"CMYK_SVG.log", PdfFormat.PDF_X_1A, ConvertErrorAction.Delete);