Anyone have a recommendation for a good image processing package for Haskell? Why do you like it?
There are at least two decoders in Hackage: stb-image (Partial implementation of JPEG, PNG, TGA, BMP, PSD decoders, with a really simple API) and pngload (pure Haskell loader for PNG images).
Otherwise, you could use Haskell bindings for an existing library, for instance hsmagick or gd.
There is also Codec-Image-DevIL which are Haskell bindings to DevIL library. It allows to load an image into Haskell array or to write an array as an image. Nothing else, but for reading/writing it supports tons of image formats.
I find a lot to like in the netpbm format and tools: simplicity, simplicity, and simplicity. There's some discussion of netpbm in the Real World Haskell book, and they have some source code. Since I don't have the book, I don't know if they give a full library.
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