I have a bunch of pictures (mostly screenshots, but it doesn't matter) to which I'd like to add a drop shadow. (Reason for it is to add a nice border, as they have white background and I use them on a white background.)
My current workflow is:
- open the
.png
file in Inkscape, Filters/Shadow and glow/Drop shadow
,- select a
3px
blur radius, with a2px 2px
offset, - export the modified
.png
.
However, this is done all manually… and it is quite annoying when I have more than… 2 pictures.
I know Inkscape can be used with Command Line Interface (CLI) (I'm on Ubuntu 18.04). I know how to import and export files. However, I don't know how to apply a given filter.
Here's what I've tried, it didn't work:
$ inkscape --verb org.inkscape.effect.filter.ColorDropShadow --verb FileSave --verb FileClose image.png
Hence, could you tell me how to add drop shadow to a picture using CLI?
(This could be done using either Inkscape, or any other open-source software running on Linux)
$ inkscape --verb org.inkscape.effect.filter.ColorDropShadow --verb FileSave --verb FileClose image.png
but it is not working.WARNING: ignoring verb org.inkscape.effect.filter.ColorDropShadow - GUI required for this verb.