Skip to content

Instantly share code, notes, and snippets.

@LeonLenclos
Last active October 21, 2020 15:17
Show Gist options
  • Select an option

  • Save LeonLenclos/7dcd5f2f62e72d0f02b592d5d07d596d to your computer and use it in GitHub Desktop.

Select an option

Save LeonLenclos/7dcd5f2f62e72d0f02b592d5d07d596d to your computer and use it in GitHub Desktop.
Inkscape to print
  1. Save the document from inkscape foo.svg
  2. Convert the svg to pdf : rsvg-convert -f pdf -o foo.pdf foo.svg
  3. Convert the pdf to a cmyk pdf gs -o foo-cmyk.pdf -sDEVICE=pdfwrite -sProcessColorModel=DeviceCMYK -sColorConversionStrategy=CMYK -dOverrideICC foo.pdf

Check conversions : pdfimages -list foo-cmyk.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment