I’m trying to resize a picture in a Spring App with Kotlin which should run as a native image (graalvm).
Therefore I cannot use java.awt
or javax.imageio
because they use reflection.
Can someone recommend a Library?
I have a picture as ByteArray
with ContentType = "image/png"
Seems like the issue is already when trying to convert the ByteArray
to BufferedImage
which is then used in most of the libraries to resize an image.
Can someone recommend a Library which could may work for this?