src/main/resources/fxml/imageDisplay.fxml
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.BorderPane?>
<BorderPane id="image-display-pane" fx:id="borderPane" prefHeight="200.0" prefWidth="200.0" stylesheets="@../main.css"
xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="de.nihas101.image_to_pdf_converter.gui.controller.ImageDisplayController">
<center>
<ImageView fx:id="imageDisplayView" fitHeight="600.0" fitWidth="400.0" pickOnBounds="true" preserveRatio="true"
BorderPane.alignment="CENTER"/>
</center>
</BorderPane>