png to svg conversion with command line

Post questions on how to use or achieve an effect in Inkscape.
atiliofrancois
Posts: 1
Joined: Wed Jun 19, 2019 5:17 pm

png to svg conversion with command line

Postby atiliofrancois » Wed Jun 19, 2019 5:24 pm

I'm trying to convert all the images of a directory from png to svg.
I'm using the command line
inkscape.exe -z -f name.png -l name.svg
But there is a window (png bitmap image import) displayed and I have to clik on the OK button to proceed.
Does anyone knows how to go threw avoiding this step?
I tryed to find something using actions or verbs but I didn't find anything.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: png to svg conversion with command line

Postby Moini » Wed Jun 19, 2019 10:07 pm

Click into the 'Don't ask again' (or whatever it's called) checkbox for the import dialog.

Note that this does not magically vectorize the png images, it just embeds them in an SVG file.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”