getViewAsImage
public java.awt.image.BufferedImage getViewAsImage()
throws java.rmi.RemoteException,
MXException
Returns view of the workflow as a BufferedImage. The returned image can be
manipulated into any final output format using javax.imageio.ImageIO.write.
This method was copied from the deprecated getViewAsGIF(), except it returns
the BufferedImage before calling GifImageGenerator.makeGifImage(), which returns
a byte[]. This was needed to support writing the wfmap to additional image formats
(i.e. cannot display dimensionally large .gif images, but it can display the same
image in a .png format)
- Throws:
java.rmi.RemoteException
MXException
- See Also:
getViewAsGIF()