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.
Creating a shape Just draw your shape in Dia like you draw a diagram. You can also use other tools such as Inkscape to draw your shape, save it in the SVG format and import it to Dia.
Insert SVG images into a diagram PrintDrag and drop the SVG image file from your computer onto the drawing canvas. Drag the URL of the SVG image from your browser onto the drawing canvas. Select Arrange > Insert > Image, then drag the diagram file or URL onto the dialog and click Apply.
Using the File Import option: Click File > Import > Import to Stage, or Import to Library and select the SVG file. Drag and drop an SVG file directly on to the stage.
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With