public class ImageToAwt
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
convert(java.awt.image.BufferedImage image,
Image.Format format,
java.nio.ByteBuffer buf)
Convert an AWT image to jME image.
|
static java.awt.image.BufferedImage |
convert(Image image,
boolean do16bit,
boolean fullalpha,
int mipLevel) |
static void |
convert(Image input,
Image output)
Convert the image from the given format to the output format.
|
static void |
createData(Image image,
boolean mipmaps) |
public static void convert(java.awt.image.BufferedImage image, Image.Format format, java.nio.ByteBuffer buf)
image
- the input image (not null, unaffected)format
- the data formatbuf
- the output buffer (not null, modified)public static void createData(Image image, boolean mipmaps)
public static void convert(Image input, Image output)
input
- the input image (not null, unaffected)output
- the output image (not null, modified)public static java.awt.image.BufferedImage convert(Image image, boolean do16bit, boolean fullalpha, int mipLevel)