CairoSVG icon indicating copy to clipboard operation
CairoSVG copied to clipboard

Support ICC profiles in the SVG files when exporting to PDF

Open tanty opened this issue 10 years ago • 1 comments

I assume this doesn't have an easy fix without a fix in Cairo. Also, I've seen the comment in: https://github.com/Kozea/CairoSVG/blob/master/test/fail/color/README.rst

However, this is one of the main requests from SVG creators. Right now, the only way of having a PDF output respecting the ICC profiles added to a SVG document (typically, using Inkscape) is through importing the SVG into Scribus and hoping that there is no lose of information in the process. For example: http://bugs.scribus.net/view.php?id=13435

Would it be possible to make this tool to modify, maybe, the resulting PDF document from Cairo to include the original ICC (CMYK) information?

tanty avatar Oct 19 '15 16:10 tanty

That's theoretically possible with some post-processing magic on the PDF file generated by cairo, just as WeasyPrint does.

liZe avatar Oct 20 '15 16:10 liZe