opengl.common
Class ImageSaver

java.lang.Object
  extended by opengl.common.ImageSaver

public class ImageSaver
extends java.lang.Object


Constructor Summary
ImageSaver()
           
 
Method Summary
static void writeImage(java.io.File actImgFile, java.io.File newImgFile, ImageTexture imgTex)
           
static void writeScreenshot(javax.media.opengl.GL gl, java.io.File newImgFile, int width, int height)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageSaver

public ImageSaver()
Method Detail

writeScreenshot

public static void writeScreenshot(javax.media.opengl.GL gl,
                                   java.io.File newImgFile,
                                   int width,
                                   int height)

writeImage

public static void writeImage(java.io.File actImgFile,
                              java.io.File newImgFile,
                              ImageTexture imgTex)
                       throws java.io.IOException
Throws:
java.io.IOException