如何将自定义 SVG 形状导入 Dia?
我无法将 SVG 形状导入 Dia。它需要 .shape 格式(请参阅 http://dia-installer.de/howto/ create_shape/index.html)
一种解决方案是将 Dia 图导出为 SVG 并在 Inkscape 中编辑它,但我真的很想知道如何将一些 SVG 剪贴画直接导入到 Dia 中。
I haven't been able to import an SVG shape into Dia. It is expecting a .shape format (see http://dia-installer.de/howto/create_shape/index.html)
One solution is to export the Dia figure as SVG and edit it in Inkscape, but I'd really like to know how to import some SVG clipart directly into Dia.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一种方法可以导入它们,但它们会降低质量,因为似乎不支持高级透明度:
1) 将 SVG 文件拖放到空的绘图区域中。
2) 将其导出为
.shape
:文件->出口...
然后选择“按扩展名”并将文件另存为
.shape
。然后会出现一个对话框。在其中选择默认尺寸。3)导入:
F9->新-> SVG 形状(选择文件)
就是这样。如果你想导入更高级的绘图,我建议你尝试不同的格式,例如,PNG 导入得非常好(但当然不是矢量)。
希望它能有所帮助(并且我希望 DIA 团队实现更高级的 SVG 支持)。
There is a way to import them but they lose quality as advanced transparency seems to be unsupported:
1) Drag and drop the SVG file into an empty drawing area.
2) Export it as
.shape
:File -> Export...
Then select "By extension" and save the file as
.shape
. Then a dialog will appear. Choose the default size in there.3) Import it:
F9 -> NEW -> SVG Shape (select the file)
That's it. If you want to import more advanced drawings, I suggest you to try different formats, for example, PNG are imported really nicely (but of course are not vectors).
Hope it helps (and I hope DIA team implements more advanced SVG support).