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

Problem when exporting the file into jpg or svg

0 votes

Hello every body,

 

I have a problem when exporting my graph into a jpeg file or a svg file.

My computer is old and when I try to export the file in original size and complete diagram I get this message :

  • Not enough memory for temporary image of size 11314*10907 (118MPixels). Approximately 472MByte required

I thought nevermind, I export it by pieces instead of the full diagram.

When I try to export a visible region of the diagram (which is one of the proposed options when exporting) as image instead of the full diagram my conputer succeed in exporting the file. But I get an image of the diagram as I see it. The image is good but when I zoom in for reading the text in the nodes, I can't read nothing because it becomes blurred.

 

When I try to export it whith the option custom width or height, I get the same problem. I obtain the full file but then when I zoom in, it becomes unreadable.

 

How do I skirt this problem ?

It is te first time I amusing Yed and maybe I should have made the nodes smaller ? I have no idea indeed what is the size of this diagram. I mean the printed size. Because I would like to print it on a A0 or A1 paper. 

How do I know the actual size of the file ? Any idea ? Can I reduce the diagram with Yed using some tools ? or do I have  to reduce everything one by one ? I am surprised to see that the image would be of 118MPixels which seems gigantic given that the diagram is made of yellow nodes with text inside.

If someone expert wants to look at the diagram for understanding better I can send it with great pleasure.

If reducing the whole diagram is not possible, is there someone with a good computer on the forum that would be kind enough to export it for me ? :D

 

 

Because I had problems with the jpeg exporting I tried the svg export. I was happy to see that there is the option "Transparent Background" which may be hepfull in my case to work on the file with Gimp. But unfortunately I got a svg file without arrows or edge (I don't remember the Yed words).

Why is it like this ?

But strangely, I can zoom in without the blurred problem I had on the jpeg file.

 

I hope you will be able to help me because monday I have to show it to my teacher because it is part of my thesis !

 

Thank you very much for your help.

in Help by (280 points)

2 Answers

0 votes
When exporting to JPG (or GIF or PNG) it is not possible to prevent the image from becoming blurred when zooming into the exported image. This is not a yEd shortcoming but happens for all raster images.

If you need to be able to zoom into the exported graphic without loss of quality, you need to use a vector graphics format like SVG (or PDF). Note, though, if there are image nodes in your diagram that show JPG (or GIF or PNG) images, these raster images are not magically converted to vector graphics but are embedded into the resulting SVG (or PDF) document.
by [yWorks] (161k points)
Ok thank you.

But this blurred effect happens when I try to export a "visible region" which is the option offered by Yed. When the graph was smaller, I had no problem with the conversion. No blurred effect. Now the graph is bigger and I can't export it because of a lack of temporary memory as shown in the beginning of my previous comment. But I expected Yed to convert a "visible region" which means a smaller region of the graph, correctly. Instead it is blurred.
Anyway, I have another problem with SVG format. The arrows are not visible... Is this normal ? Because SVG format would help me a lot because Yed succeed in converting into SVG even if the graph is big as it is now.

Do you know a way to overcome the problem of dimensions ? I read that it was a limit from Java stuff. So even on a computer more powerful I will not solve the problem ?
I solved the problem reducing drastically the distances between nodes/layers/edges so that now it is bold to look at...

Thank you again
0 votes

Ok thank you.

But this blurred effect happens when I try to export a "visible region" which is the option offered by Yed. When the graph was smaller, I had no problem with the conversion. No blurred effect. Now the graph is bigger and I can't export it because of a lack of temporary memory as shown in the beginning of my previous comment. But I expected Yed to convert a "visible region" which means a smaller region of the graph, correctly. Instead it is blurred.
Anyway, I have another problem with SVG format. The arrows are not visible... Is this normal ? Because SVG format would help me a lot because Yed succeed in converting into SVG even if the graph is big as it is now.

Do you know a way to overcome the problem of dimensions ? I read that it was a limit from Java stuff. So even on a computer more powerful I will not solve the problem ?
I solved the problem reducing drastically the distances between nodes/layers/edges so that now it is bold to look at...

Thank you again

by (280 points)
Legal Disclosure | Privacy Policy
...