Export to PDF - then white rectangle?
I can now enjoy experimenting with generative art in my illustrations but I've experienced difficulty getting immediate results with other applications - until I encountered Nodebox. I think this is a great tool for producing beautiful design in so many forms. Thanks for developing such a great tool for graphic artists.
However I have actually encountered a few problems and I'm wondering if someone could perhaps help with finding a solution? When exporting to a PDF (or even a PNG) I often find that the exported PDF is just a small, white rectangle.
I'm duplicating some SVG files around some circular paths using the 'Shape on Path' node. Now sometimes I find I can export smaller groups of nodes but with this particular composition I have tried double clicking various 'Combine' nodes around the network structure and I have 'Set Rendered' through the right mouse button on each 'Combine' node but I can't get this to export. Even when I try to export it as a PNG file I get an error screen which contains the text below.
java.lang.IllegalArgumentException: Width (0) and height (0)
cannot be <= 0
at
java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown
Source) at java.awt.image.BufferedImage.(Unknown Source) at
nodebox.graphics.ObjectsRenderer.createImage(Unknown Source) at
nodebox.graphics.ObjectsRenderer.render(Unknown Source) at
nodebox.client.NodeBoxDocument.exportToFile(Unknown Source) at
nodebox.client.NodeBoxDocument.exportToFile(Unknown Source) at
nodebox.client.NodeBoxDocument.doExport(Unknown Source) at
nodebox.client.NodeBoxMenuBar$ExportAction.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.AbstractButton.doClick(Unknown Source) at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.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$200(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$1.doIntersectionPrivilege(Unknown
Source) at
java.security.ProtectionDomain$1.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$1.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)
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Frederik De Ble... on 10 Feb, 2014 12:52 PM
Hi,
Perhaps your composition is way too big, and you only see the middle?
You can set the canvas width and height in File > Document Properties. Furthermore, you can turn on canvas bounds to preview which part is going to be exported. (Make sure you have the latest version of NodeBox since we recently added this feature)
Best,
F