How to use inkscape command line interface?

I am trying to use the inkscape command line interface. I have windows 7.

First I open a command prompt and I run them:

cd "C:\Program Files\Inkscape-0.48"
inkscape "C:\Users\me\Desktop\Pic\Class_UML.png" --export-png="C:\Users\me\Desktop\Pic\raster.png" --export-area=0:0:100:100

Then the inkscape popup window opens and I click the embed button and then click ok and then nothing happens and the file is not displayed.

Does anyone know what I'm doing wrong?

thanks

+4
source share
2 answers

There is currently no way to do perfect silent processing on Windows. However, any team using inkscapein the Windows , launches a blank window during processing in the background.

, inkscape , inkscape ( inkscape --shell).

PS. , - , , , cmd. , - Windows .

+1

C:\Users\me\Desktop\Pic\raster.png , ? , -export-png , inkscape , , .

, C:\Users\me\Desktop\Pic\raster.png.

Linux , , ,

Background RRGGBBAA: ffffff00
Area 0:0:100:100 exported to 100 x 100 pixels (90 dpi)
Bitmap saved as: raster.png

,

0

Source: https://habr.com/ru/post/1524990/


All Articles