Inkscape.org
Beyond the Basics Use Inkscape to apply filter to PDF from command line
  1. #1
    Nicholas Palladino Nicholas Palladino @npallad

    How can I apply a filter to a PDF from the commandline?  I am trying to use the following command but it's not working:

    inkscape --batch-process --actions="EditSelectAllInAllLayers;org.inkscape.effect.filter.Invert.noprefs;export-filename:output.pdf;export-do;" test.pdf

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Use Inkscape to apply filter to PDF from command line