public class ImageUtil
extends java.lang.Object
Constructor and Description |
---|
ImageUtil() |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
createBufferedImage(int[] buf,
int sizeX,
int sizeY)
Creates a buffered image from a rendering engine RGB buffer without data
copying.
|
public static java.awt.image.BufferedImage createBufferedImage(int[] buf, int sizeX, int sizeY)
buf
- the rendering engine packed integer buffer.sizeX
- the X-width of the image rendered.sizeY
- the Y-width of the image rendered.