de.jreality.util
Class ImageUtility

java.lang.Object
  extended by de.jreality.util.ImageUtility

public class ImageUtility
extends Object


Method Summary
static BufferedImage getValidBufferedImage(ImageData data)
           
static BufferedImage rearrangeChannels(BufferedImage img)
          I need this when i do offscreen rendering in the JOGL backend ..
static BufferedImage resizeToPowerOfTwo(BufferedImage input)
           
static void writeBufferedImage(File file, BufferedImage img)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeBufferedImage

public static void writeBufferedImage(File file,
                                      BufferedImage img)

resizeToPowerOfTwo

public static BufferedImage resizeToPowerOfTwo(BufferedImage input)

rearrangeChannels

public static BufferedImage rearrangeChannels(BufferedImage img)
I need this when i do offscreen rendering in the JOGL backend .. don't really understand why since it appears I'm just copying from one image to the other. -gunn

Parameters:
img -
Returns:

getValidBufferedImage

public static BufferedImage getValidBufferedImage(ImageData data)