Snapshots the specified ScalaFX Image object and stores a copy of its pixels into a BufferedImage object, creating a new object if needed.
Snapshots the specified ScalaFX Image object and stores a copy of its pixels into a BufferedImage object, creating a new object if needed.
the JavaFX Image to be converted
an optional BufferedImage object that may be used to store the returned pixel data
a BufferedImage containing a snapshot of the JavaFX Image, or null
if the Image is not readable.
Snapshots the specified BufferedImage and stores a copy of its pixels into a ScalaFX Image object, creating a new object if needed.
Snapshots the specified BufferedImage and stores a copy of its pixels into a ScalaFX Image object, creating a new object if needed.
the BufferedImage object to be converted
an optional WritableImage object that can be used to store the returned pixel data
an Image object representing a snapshot of the current pixels in the BufferedImage.
Wraps JavaFX SwingFXUtils.
8.0