public class ImageUtility extends Object
Modifier and Type | Method and Description |
---|---|
static BufferedImage |
captureScreenshot(Viewer v)
Captures a screen shot from the viewer's viewing component.
|
static BufferedImage |
getValidBufferedImage(ImageData data) |
static BufferedImage |
rearrangeChannels(BufferedImage img)
I need this when i do offscreen rendering in the JOGL backend ..
|
static BufferedImage |
rearrangeChannels(BufferedImage bi,
BufferedImage img) |
static BufferedImage |
resizeToPowerOfTwo(BufferedImage input) |
static void |
writeBufferedImage(File file,
BufferedImage img) |
public static void writeBufferedImage(File file, BufferedImage img)
public static BufferedImage resizeToPowerOfTwo(BufferedImage input)
public static BufferedImage rearrangeChannels(BufferedImage img)
img
- public static BufferedImage rearrangeChannels(BufferedImage bi, BufferedImage img)
public static BufferedImage getValidBufferedImage(ImageData data)
public static BufferedImage captureScreenshot(Viewer v)
v
- the viewer to capture