Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
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); java.io.File file = new java.io.File("filename"); javax.imageio.ImageIO.write(image, "png", file); HTH, Ben
visad
archives: