public final class BitmapImage extends BitmapImage<java.awt.image.BufferedImage>
BufferedImage from Bitmap.| Modifier and Type | Method and Description |
|---|---|
static java.awt.image.BufferedImage |
toToolkit(Bitmap bitmap)
Creates and returns an instance of
BufferedImage obtained from the given bitmap. |
toolkitImagepublic static java.awt.image.BufferedImage toToolkit(Bitmap bitmap)
BufferedImage obtained from the given bitmap. The image will have the same width and height as the bitmap.bitmap - the bitmap used to obtain BufferedImagejava.lang.IllegalArgumentException - when the given bitmap size is empty