[Haskell-cafe] Haskell image libraries

Jeremy Shaw jeremy at n-heptane.com
Sun Nov 8 09:55:44 EST 2009


There is a partial binding to libgd:

http://hackage.haskell.org/packages/archive/gd/3000.4.0/doc/html/Graphics-GD.html

http://www.libgd.org/Main_Page

But GD itself may not do what you want.

- jeremy

On Nov 8, 2009, at 8:34 AM, Max Rabkin wrote:

> Haskellers,
>
> To add image support to fdo-notify, I need an image type. Looking
> through Hackage, I didn't find any image library with the following
> features:
> * Load from a variety of formats (at least PNG and JPG, I'd say)
> * Efficient per-pixel access, or a way to dump the image into a
> ByteString as a bitmap (I need to serialise them into the protocol's
> bitmap format)
> Preferably, it should be possible to construct images  
> programmatically too.
>
> Is there really no such library? It would be nice to have something
> like a Haskell equivalent of the Python Imaging Library, which is the
> de facto standard image library in Python and supports just about
> every type of operation on images you could ask for.
>
> Regards,
> Max
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list