如何将自定义SVG形状导入Dia? [英] How do I import custom SVG shapes into Dia?

查看:154
本文介绍了如何将自定义SVG形状导入Dia?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法将SVG形状导入Dia.它期望使用.shape格式(请参见 http://dia-installer.de/howto/create_shape/index.html )

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)

一种解决方案是将Dia图形导出为SVG并在Inkscape中进行编辑,但是我真的很想知道如何将一些SVG剪贴画直接导入Dia.

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.

推荐答案

有一种方法可以导入它们,但是由于高级透明度似乎不受支持,因此它们质量下降:

There is a way to import them but they lose quality as advanced transparency seems to be unsupported:

1)将SVG文件拖放到一个空白的绘图区域中.

1) Drag and drop the SVG file into an empty drawing area.

2)将其导出为.shape: 文件->导出... 然后选择按扩展名"并将文件另存为.shape.然后将出现一个对话框.在其中选择默认大小.

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)导入: F9-> NEW-> SVG Shape(选择文件)

3) Import it: F9 -> NEW -> SVG Shape (select the file)

就是这样.如果要导入更高级的工程图,建议您尝试不同的格式,例如,PNG可以很好地导入(但当然不是矢量).

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).

希望有帮助(我希望DIA团队实现更高级的SVG支持).

Hope it helps (and I hope DIA team implements more advanced SVG support).

这篇关于如何将自定义SVG形状导入Dia?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆