BitmapImage insteadpublic final class BitmapUtil
extends java.lang.Object
Bitmap to JavaFX Image.| Modifier and Type | Method and Description |
|---|---|
static javafx.scene.image.Image |
toImage(Bitmap bitmap)
Deprecated.
use
BitmapImage.toToolkit(Bitmap) instead |
public static javafx.scene.image.Image toImage(Bitmap bitmap)
BitmapImage.toToolkit(Bitmap) insteadbitmap to a JavaFX Image. The JavaFX image will have the
same width and height as the given bitmap.java.lang.IllegalArgumentException - when bitmap size is empty