public class ImageToAwt
extends java.lang.Object
Constructor and Description |
---|
ImageToAwt() |
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)
public static void createData(Image image, boolean mipmaps)
public static void convert(Image input, Image output)
input
- output
- public static java.awt.image.BufferedImage convert(Image image, boolean do16bit, boolean fullalpha, int mipLevel)