Package jme3tools.converters
Class ImageToAwt
java.lang.Object
jme3tools.converters.ImageToAwt
-
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImage
static void
Convert the image from the given format to the output format.static void
convert
(BufferedImage image, Image.Format format, ByteBuffer buf) Convert an AWT image to jME image.static void
createData
(Image image, boolean mipmaps)
-
Method Details
-
convert
Convert an AWT image to jME image. XXX not implemented yet!- Parameters:
image
- the input image (not null, unaffected)format
- the data formatbuf
- the output buffer (not null, modified)
-
createData
-
convert
Convert the image from the given format to the output format. It is assumed that both images have buffers with the appropriate number of elements and that both have the same dimensions.- Parameters:
input
- the input image (not null, unaffected)output
- the output image (not null, modified)
-
convert
-