I am using inkscape 0.91 under windows and have cygwin installed so I can use make to process a bunch of .svg files more easily.
I have a bunch of black on transparent drawings (transparent background, black text, black paths, and black bitmap images) to export to PNG but I want to make the background white and then invert all colors first.
I tried:
Code: Select all
/cygdrive/c/Program\ Files\ \(x86\)/Inkscape/inkscape.com \
my_drawing.svg \
--verb=EditSelectAll \
--verb=org.inkscape.effect.filter.f031.noprefs \
--export-area-page \
--export-dpi 300 \
--export-png=tmp.png \
--export-background=white
I found the second --verb argument by
Code: Select all
/cygdrive/c/Program\ Files\ \(x86\)/Inkscape/inkscape.com --verb-list | grep -i invert
I also tried using negative instead of the f031 (invert) with:
Code: Select all
--verb=org.inkscape.color.negative.noprefs
Am I doing something fundamentally wrong or is it just a minor misconception leading to an easily fixable solution?
Thanks in advance
-Dan