Hi, My JavaFX code like this:
| WritableImage image = scene.snapshot(null); |
| File outputFile = new File("C:\\PSB\\JavaFXApplication1\\src\\test0.jpg"); |
| ImageIO.write(SwingFXUtils.fromFXImage(image, null), "jpg", outputFile); |
When open this jpg, its background is in orange color. For png type, it works great.
Thanks