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: