javafx snapshot without showing application or Scene
Hi i'm using JavaFx WebView to create Screenshot of HTML pages and it works fine but i wanted to know is it possible to do this without launching the application in Graphical Windows!! I mean aren't there any more lightweight method to get the screenshot then this: public class WebViewSample extends Application { private Scene scene; @Override public void start(Stage stage) { // create scene scene = new Scene(new Browser(snapshot), 750, 500, Color.web("#666970")); stage.setScene(scene); // show stage stage.show(); } WritableImage snapshot; public static void main(String[] args) { launch(args);