BitmapImage insteadpublic 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)
Deprecated.
use
BitmapImage.toToolkit(Bitmap) instead |
public static java.awt.image.BufferedImage toBufferedImage(Bitmap bitmap)
BitmapImage.toToolkit(Bitmap) insteadbitmap 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