Re: converting display to jpeg or gif file

Hi Yakup,

> 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?

See the captureImage() method in visad/ss/
for how to do this. You may need to wrap the call to this
in its own Thread, as in FancySSCell.captureDialog().

This only does JPEG. I don't know about other formats, you
may be able to find something in the Java Advanced Imaging

Good luck,
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738

  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: