public final class BitmapUtil
extends java.lang.Object
Bitmap to Java AWT BufferedImage.| Modifier and Type | Method and Description |
|---|---|
static java.awt.image.BufferedImage |
toBufferedImage(Bitmap bitmap)
Converts the given
bitmap to a Java AWT BufferedImage. |
public static java.awt.image.BufferedImage toBufferedImage(Bitmap bitmap)
bitmap to a Java AWT BufferedImage. The AWT image will
have the same width and height as the given bitmap.java.lang.IllegalArgumentException - when bitmap size is empty