is there any image processing library for kotlin? ...
# announcements
m
is there any image processing library for kotlin? like jimp in node js
e
you can take any java lib
👍 1
e
But only for Kotlin JVM, right?
m
@Eivind Nilsbakken yes, will share much details once i completed my project
e
@Madhan I meant that I don't think you can use any Java lib for js and native targets. That will only work for the jvm target. You can use the mechanism for expected and actual declarations for the platform specific things though.
m
Actually i'm using Ktor for my server side programming, for my project i need image processing library. i need the functionality that has Jimp in node js.
g
Ktor server is JVM only, so any Java library will be fine Not sure what kind feature you need exactly, but there ia class java.awt.Image in Java standard library, which allows you to do some image manipulations
If you need something more powerful, you probably can use some Java interface for ImageMagic, but it requires native libs installed Thumbnailator also has nice API https://github.com/coobird/thumbnailator