RE: Creating a gif file from a visad display

If you don't need it to be a gif, I have succesfully used code like this
to generate a png image.  You may be able to substitute in "gif" for
"png", but I remember it causing some problem.

BufferedImage image = display.getImage(true); file = new"filename");
javax.imageio.ImageIO.write(image, "png", file);


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