archivo javafx a imagen
Image image = new Image("file:" + path); // "file:src/resource/photo.jpg"
Lander Van laer
Image image = new Image("file:" + path); // "file:src/resource/photo.jpg"
Image image = new Image(new FileInputStream(selectedFile));
previewPicture.setImage(image);