I have a set of BufferedImage objects I want to load into my JavaFX WebView (as images that I can paint to the canvas). It's easy to load HTML and execute JS whenever you need to, but I'm wondering what the best way of getting a BufferedImage into a HTMLImage is. Would you recommend :
1) Saving the file as a .jpg and using the file:// prefix
2) Some other way to load the image info the web engine.