Re: converting display to jpeg or gif file

On Wed, 6 Feb 2002, Yakup Bayram wrote:

> Hello,
> I am using Visad to display Antenna Array pattern.
> I need to save the array pattern display as gif , jpeg or bmp. Is there any 
> way of doing this in java?
> Thanks

The static method:

visad.util.Util.captureDisplay(DisplayImpl disp, String filename)

will take the contents of the 'disp' and save it to 'filename' in
JPEG format.

tom

--
Tom Whittaker
University of Wisconsin-Madison
Space Science and Eng. Center
ph:  608.262.2759