JavaFX ImageView Base64

Nouveauté depuis JavaFX 17. Vous pouvez consulter les release notes sur le github d'openjdk

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.image.ImageView;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;

public class Base64App extends Application {

	public static void main(String[] args) {
		launch(args);
	}

	@Override
	public void start(Stage stage) throws Exception {

		// L'image au format Base64
		String base64Image = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAC1CAYAAACpgFreAAANBXpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHja7Zlplhs5DoT/8xRzBG7gchxwwXtzgzn+fEipyna1u+1+0z9HcimlXJgkEIgIpMP9z78t/ItXqWOEKn202VrkVWedWfky4uulz2eK9fl8Xq2+j6Uf94cl7wOZXYVtef0c7X3+x/70OcBro3yT7wYa+31g/Xhgvu+cx5eB8mtTfEb+/bwHmu+BSn4dSO8BVN9LmaN/v4R1X9v39a8w8Bf8o44fp/2H353oHeE+JedbUol85lJfEyj+l0NRvnQ+U5H82u17Kp+59PdgBORncYrfzSp8zco4P8/K57cvSSnttT+w48dgts/tT/cn+bL/PWB4Qvzdncv+vPMP++XE/XU5H39mZwSz+1qd1kZI23tRH0t5vnHiIuTluazx7vwJ3/vznrxHAL2blPv9Fu+dZsqkxVJNJ2mydJ/tTpsp1nxzZ5vzzuXZN0rPM+8SA9mq/k6We5nllEG2Nukt7M2fc0nPfedzu50GNz6JM3NisPRKf/5n3n86kJnHNqU4XnECFswre1EwDc+cf3IWCUn2gSN5Avzx/vryvBYyKE+YBwvUuF5DLElvbDmOypPowonC9lVrqZ/3AISIewuTSYUMxEYJpJZiz7mnRBwH+VEGGhRNXqQgieTDLHMtpZGckf3eXNPTc26W/NoNZ5EIKY3SGiRIyVWF2MBPrwMMqRSpItKky5Ap2kqrTVprvTn5aS+9dumt9z767DrKqENGGx2GHHPozLNAjjLb7HPMOVW5qTKycrVygurKq6y6ZLXV11hz6QY+u27Zbfc9wp5bTz7lwBO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Y6T3JpZW50YXRpb249IjEiCiAgIHhtcDpDcmVhdG9yVG9vbD0iR0lNUCAyLjEwIj4KICAgPHhtcE1NOkhpc3Rvcnk+CiAgICA8cmRmOlNlcT4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0OmNoYW5nZWQ9Ii8iCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OWUxYmQ5MDYtYWRhZi00YTUxLWI4YTEtNmQ4ZTkxOGNmZGViIgogICAgICBzdEV2dDpzb2Z0d2FyZUFnZW50PSJHaW1wIDIuMTAgKFdpbmRvd3MpIgogICAgICBzdEV2dDp3aGVuPSIyMDIyLTA3LTE1VDIwOjA0OjI3Ii8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Pt8L+rIAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfmBw8SBBsXIeWPAAAbU0lEQVR42u2deXhU1d3HP3dmskwWCISEJYSQBAhhM7KIKJZawPK6YVlsfaXWVrRWxQUUobY+ra+tfVV8Wy3WalVc8K2tWFxa87Z1BW0RK1VERUBRUUQkYEIy+z3vH+dOMnPn3pl7JzOTgcz3ee6TZ27ucs753nN+y/md31HIIR7ygPOBM4EqIADsBV4GfgcczDVR5qAADwDC5HgHGJxrpszhGMAfhxABNAOOXFNlBpckIEMAQWB6Kl+aY9ccNRaucQKLbD63H/A94I/AVuAtYC0wLdfk8fFbCz1EAO8BBRZl0nnAJybPaQe+lmt2czxkkZAAUGfheddqQ1y8Z/011+zmeNQiIQKYl+BZp1sgQwAtvU2GzNDG6x3APxI0pMvGc5vi/K8PcIcmb3LQUG7yxaua4dfdHvJ4nHdfYeM5m3sDGW7gpX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Qr69vV08/fTTRhsYq8B/xrNKreLryEDs8jjXvK3N5D2qeYiPRqzQLPkonHzyyZx44okIIfD7/bz++us8++yzRve/glxh4E9FYaqAG7SH7tG8o28iN3aZleIJpGyFA3g8SXnagoUNOXNIThXenAQZs3JNlz5UYTIvb3C8ho2VBTkkjz7A/QaCPqgN508D3zoCjeEcwvh/axvy9GWe8u0AAAAASUVORK5CYII=";

		// Création de l'élément qui affiche l'image au format base64
		ImageView imageView = new ImageView(base64Image);

		// Ou avec l'obet Image de javaFX
		// Image image = new Image(base64Image);
		// ImageView imageView = new ImageView(image);

		// Ou avec le mutateur setImage de ImageView
		// ImageView imageView = new ImageView();
		// imageView.setImage(new Image(base64Image));

		stage.setScene(new Scene(new StackPane(imageView), 200, 200));
		stage.show();
	}

}

Commentaires