HTML to PDF convert RGB to custom CMYK

Since css does not support CMYK, we are using RGB in the our HTML to turn into a PDF. Additionall,y we are allowing our users to specify a mapping from an RGB to a CMYK (automatic conversions aren’t good enough for our needs)

After converting the HTML to a Aspose.Pdf.Document, I have found a way to replace TEXT by using TextFragmentAbsorber to set the TextState.ForegroundColor to be a specific CMYK. However, I have not found a way to replace non-text elements this way (ex: background colors, rules, table borders, etc…)

Is there a way to change the RGB color of these elements in the Aspose.Pdf.Document dynamically so that they render in the PDF as a specified CMYK?

@ANDREA.FARRIS

We are afraid that this functionality is not yet supported. However, if you could please share your sample source and output files with the code snippet you are using to change the color, we will log an investigation ticket and share the ID with you.

We created a task for investigation, but also, if you send us a sample document, we can propose a workaround.

@ANDREA.FARRIS
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): HTMLNET-5478

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.