Inkscape.org
Using Inkscape with Other Programs Inkscape command line exporting freezes
  1. #1
    xkasjan7 xkasjan7 @xkasjan7
    *

    Hello,

    I am using inkscape to fast convert PDF files to PNG files. On a new system I have installed version 1.3.2. After this command my whole cmd freezes

    inkscape --export-type=png --export-overwrite --export-filename="...png" ...pdf 

    After that i still don't get png file. This "script" was good on my previous system. Whole configurations, versions etc are the same

  2. #2
    inklinea inklinea @inklinea⛰️

    I would try it first with a simple svg to png conversion, so no complications from pdf.

    inkscape --actions="export-background:#FF00FF;export-filename:test.png;export-overwrite;export-do" drawing.svg

    export-type is not required, as it is determined by the .png file extension in export-filename

    On windows you might have to use inkscapecom.com instead of inkscape in some cases.