toSwingImage

inline fun Image.toSwingImage(bimg: BufferedImage? = null): BufferedImage

Snapshots the specified JavaFX Image object and stores a copy of its pixels into a BufferedImage object, creating a new object if needed.