我觉得我一定在做一些愚蠢的错误,但是我无法使它正常工作。这是我从cmd运行的命令:
inkscape.com "C:\path\ship.svg" -e --export-png="C:\Path\ship.png" --without-gui
作为回报,我得到:
WARNING: File path "--export-png=C:\path\ship.png" includes directory that doesn't exist.
它确实存在。我想念什么?
您应该使用-e
或--export-png
而不是两者,因为它们含义相同。
但是根据docs,-e
并且--export-png
不再可用。您应该使用-o
或--export-filename=FILENAME
代替。而且,您仅可以使用其中之一,因为-o
这只是的快捷方式--export-filename
。
inkscape "C:\path\ship.svg" -o "C:\path\ship.png"
或者
inkscape "C:\path\ship.svg" --export-filename="C:\path\ship.png"
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句