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

Yed can not convert big data to PNG and JPG

0 votes

Hi

When i try to save a big size graph with 50,000 node Yed can not save it in JPG or PNG .

And nothing to show in PDF .

 

ava.lang.IllegalArgumentException: Image size of 1297031x4865=6310055815px exceeds maximum size of 2147483647px.
at y.H.J.ā(Unknown Source)
at y.H.J.ā(Unknown Source)
at y.H.G.ā(Unknown Source)
at y.B.A.M.Đ(Unknown Source)
at y.B.A.H.Đ(Unknown Source)
at y.B.a.č(Unknown Source)
at y.B.a.ę(Unknown Source)
at y.B.a.ă(Unknown Source)
at com.yworks.A.B.P.X$A.Ă(Unknown Source)
at com.yworks.A.B.P.X$A.ā(Unknown Source)
at com.yworks.A.A.C.A.ā(Unknown Source)
at com.yworks.A.A.C.A.ą(Unknown Source)
at com.yworks.A.A.C.A$1.run(Unknown Source)
at com.yworks.A.A.D.E.ā(Unknown Source)
at com.yworks.A.K.j.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
 
in Help by

1 Answer

0 votes

Yes, it is not possible to create images of the desired size. That is not a yEd shortcoming, but a general technical restriction for generating raster images.

Try one of the following approaches:

  1. Export to a vector graphics format such as SVG or PDF instead of a raster image format.
  2. Use image tiling for export. (Usually, it does not make sense to create tiles that are larger than your display resolution. Most displays today offer a resolution of 1920x1200. As a result, you would need 676 columns and 5 rows of tiles for a total of 3380 individual image files.)
  3. Export at a smaller zoom level. This may done by e.g. specifying a custom width on tab "Clipping" of the image export settings. Again, it usually does not make sense to create an image that is larger than your display resolution. Unfortunately, a diagram as large as yours is not suited for this approach.

To be honest, your diagram is simply too large for image export to produce usable results.

by [yWorks] (161k points)
Legal Disclosure | Privacy Policy
...