command-line - 如何使用inkscape命令行界面?

标签 command-line windows-7 inkscape

我正在尝试使用inkscape 命令行界面。我有 Windows 7。

首先,我打开命令行,然后运行这些:

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

然后inkscape弹出窗口打开,我单击嵌入,然后单击确定,然后什么也没有发生,文件也没有显示出来。

有谁知道我做错了什么?

谢谢

最佳答案

截至目前,似乎没有办法做到完美静音处理在 Windows 中。但是,任何使用 inkscape 的命令在 视窗 在后台处理时触发一个空窗口。

If you don't want it to open separate inkscape windows everytime, try entering the inkscape interactive shell (using inkscape --shell).



PS : 我不认为我们可以在交互式 shell 中做更多的事情,而不是我们可以使用 cmd 做的事情。希望有人在 Windows 中解决上述问题并在 shell 中添加更多功能。

关于command-line - 如何使用inkscape命令行界面?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21519315/

相关文章:

c# - 将 .net 应用程序迁移到 Windows 7(64 位)时需要注意什么

visual-studio-2010 - 在 Windows 7 中安装 Sharepoint Foundation 2010 时出现问题。错误 : "The language of this installation package is not supported by your system"

reactjs - 用inkscape创建图标,用material ui SvgIcon导入

command-line - 使用 OS X SIPS(可编写脚本的图像处理系统)批处理图像仅缩小图像大小?

linux - 如何在 Linux 命令行中将多个输入指定为单个输入?

windows - 如何批量传递多个参数?

c# - 符合 DEP 要求的 Visual Studio 应用程序

pdf - 如何调整 pdf 中位图图像的大小/重新采样并保持矢量叠加

pdf - Inkscape “PDF + Latex”导出

c# - 从 C# 应用程序运行多个命令