gmazzotti
gmazzotti

Reputation: 427

Spot color in SVG embedded into PDF

I need to create a PDF with a vectorial graphic for a personalized packaging project. I can create the PDF with the embedded SVG but our graphic need 2 spot color for the lines so the CMYK print isnt messed up.

This screen is the PDF he created as an example image1 and this is the PDF i created. image2

I tried manual editing of SVG+PHP+TCPDF, commandline Inkspace or commandline ImageMagick but i didnt find a way to insert a spot color.

Can someone help me?

Upvotes: 3

Views: 2419

Answers (1)

gmazzotti
gmazzotti

Reputation: 427

Thanks to @kevin-brown for the answer! I post a full example for reference

<rect x="503.1" y="396.9" fill-rule="evenodd" fill="none" stroke="rgb(0,255,0) icc-color(#CMYK, 26%, 50%, 99%, 24%)" stroke-width="0.5916" stroke-miterlimit="3.8637" width="113.4" height="396.9"/>

Upvotes: 2

Related Questions