Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Haskell image processing library? [closed]

Anyone have a recommendation for a good image processing package for Haskell? Why do you like it?

like image 415
Geoff Avatar asked Apr 27 '09 04:04

Geoff


2 Answers

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.

like image 138
sastanin Avatar answered Oct 07 '22 15:10

sastanin


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.

like image 34
Norman Ramsey Avatar answered Oct 07 '22 14:10

Norman Ramsey