Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

Export destroys vector-icons

+1 vote

Hi there,

thanks for this great product! (used on W7x64)

My issue is an export-related and is connected to icons which where imported from an SVG file and the original icons shipped with yEd.

There seems to be no way in exporting vector-based icons and keep them as a vector-icon. Worse: Text is converted into graphics and compressed via a DCT-based stuff like JPEG, which is the worst you can do - DCT f***s up every text blush

I tried to

  • export as PDF: bitmaps
  • export as EMF: bitmaps
  • export as EPS: bitmaps
  • export as SVG: unusable file which has not much in common with the original diagram on the visual side (opened in Inkscape and Illustrator: Icons are not scaled and therefore nothing is in lace anymore)
  • even printing to Adobe PDF or PDFcreator PDF is pixelizing those Icons.

Is there any way to do an usable export/print?

Kind regards

Kai

in Help by

1 Answer

0 votes

Would it be possible for you to upload a sample GraphML file that uses one of the problematic SVG nodes? (Please see How to upload files to yEd Q&A? for details.)

That said, when exporting to SVG, yEd recognizes SVG nodes and embeds those nodes as nested SVG documents. For the other export formats you mentioned (EMF,EPS,PDF)what happens on export very much depends on the SVG node. SVG has features that are not supported by the other mentioned formats (or their implementation in yEd), so rasterization is the best one can do. E.g. SVG specific radial gradients will always be rasterized when exporting to anything but SVG.

by [yWorks] (161k points)
Example for a bad svg export
The rasterization seems to be on yEd's part, not the SVG format: if in the export dialog you choose a very high scaling factor, then the icons are not rasterized, if they become big enough. However, they are still rasterized if they remain too small even with maximum upscaling, given a very small initial size.
Also, rasterization does not take transparency into account.
Legal Disclosure | Privacy Policy
...