Here's the answer from a previous email on this subject:
The static method:
visad.util.Util.captureDisplay(DisplayImpl disp, String filename)
will take the contents of the 'disp' and save it to 'filename' in
I don't know how to save it in other formats unless there is a way through
the Java 2D API.
----- Original Message -----
From: "John Yao" <johnyao@xxxxxxxx>
Sent: Friday, March 01, 2002 1:45 PM
Subject: print image to file
> Does anyone know some ways to print the visad displays to file (for
> example, tiff, jpg and etc.)? How about printing them to the printer?
> comments or suggestions would be very helpful since i am just at a
> point. Thanks very much!