I am generating large PNG files from a Scala program. Currently, I am doing it the same way I would do it in java. I am creating a new BufferedImage
and setting each pixel to the correct color. This works fine, but I am wondering if there are any good libraries for working with images in Scala? I am looking for something like Ruby's RMagick library.
Take a look at https://github.com/sksamuel/scrimage (Disclaimer: I am the author)
This is an open source Scala image library that essentially wraps java.awt Image operations in a nicer API as well as providing easy methods for operations like fitting to a given size, etc.
Maybe JMagick? Take a look here, it's a native interface between ImageMagick and Java exactly like RMagick..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With