Bring the Affinity Suite to Linux - #AffinityOnLinux

  • warmaster@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    12 days ago

    I use Ghostscript for postprocessing the PDF files. What do yo I use to add a color profile for example?

    • poinck@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      12 days ago

      ghostcript can add a color profile, too. I use the regular ISO coated v2 (without the 300%). This is just a step to not do all things in Scribus by hand and make sure colors are not out of gamut.

      I don’t now the command line from the top of my head. Just ping me again, so when I am on my computer I can send the complete ghostscript cli line that currently works for me.

      The final profile is set up by Scribus, where I have set it to the ISO coated with 300%. Ideally I would like to have less steps in the chain, so that a change in the Inkscape-source involves less manually steps. One can dream of it. (:

        • poinck@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          12 hours ago

          Finally I found the time to write down, how I use Ghostscript:

          gs \
              -sDEVICE=pdfwrite \
              -o /output/gs_file.pdf \
              -dPDFSETTINGS=/prepress \
              -sProcessColorModel=DeviceCMYK \
              -sDefaultCMYKProfile=/path/to/ISOcoated_v2_eci.icc \
              -sColorConversionStrategy=CMYK \
              source/file.pdf \
              -f
          

          I don’t now which of ProcessColorModel or ColorConversionStrategy is the important one. I kept both and did not bother to try to omit one of them. -dPDFSETTINGS=/prepress makes sure that embedded bitmaps are in 300dpi and I think -f prevents Ghostscript staying in interactive mode after all pages have been finished.