From fd6fa1f235a9554c68b1685b217b99b1b02420b8 Mon Sep 17 00:00:00 2001 From: Michal Karm Babacek Date: Wed, 15 Feb 2023 13:44:55 +0100 Subject: [PATCH] Makes thumbnailator behave wrt AWT init --- src/main/resources/application.properties | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e69de29..214126a 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -0,0 +1,10 @@ +quarkus.native.additional-build-args=--initialize-at-run-time=\ +net.coobird.thumbnailator.resizers.AbstractResizer\\,\ +net.coobird.thumbnailator.resizers.BilinearResizer\\,\ +net.coobird.thumbnailator.resizers.configurations.AlphaInterpolation\\,\ +net.coobird.thumbnailator.resizers.configurations.Antialiasing\\,\ +net.coobird.thumbnailator.resizers.configurations.Dithering\\,\ +net.coobird.thumbnailator.resizers.configurations.Rendering\\,\ +net.coobird.thumbnailator.resizers.NullResizer\\,\ +net.coobird.thumbnailator.resizers.ProgressiveBilinearResizer\\,\ +net.coobird.thumbnailator.resizers.Resizers