Re: [Haskell-cafe] Haskell image libraries

2009-11-09 Thread Pierre-Etienne Meunier
there is also a binding for libGD on hackage : http://hackage.haskell.org/package/gd And, of course, you can improve it, or write a binding to a more complete library. Or, even better, write a mix between http://www.libpng.org/pub/png/pngdocs.html and http://hackage.haskell.org/package/binary

Re: [Haskell-cafe] Haskell image libraries

2009-11-08 Thread Henk-Jan van Tuyl
wxHaskell contains functions to read and write images, for example imageGetPixels [1] and imageCreateFromPixelArray [2] Met vriendelijke groet, Henk-Jan van Tuyl [1] http://hackage.haskell.org/packages/archive/wxcore/0.10.13.0/doc/html/Graphics-UI-WXCore-Image.html#v:imageGetPixels [2] h

Re: [Haskell-cafe] Haskell image libraries

2009-11-08 Thread Felipe Lessa
On Sun, Nov 08, 2009 at 04:34:26PM +0200, Max Rabkin wrote: > 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-pixe

Re: [Haskell-cafe] Haskell image libraries

2009-11-08 Thread Andrew Coppin
Max Rabkin wrote: On Sun, Nov 8, 2009 at 5:09 PM, Max Rabkin wrote: On Sun, Nov 8, 2009 at 4:58 PM, Andrew Coppin wrote: Try AC-EasyRaster-GTK. Thanks, I'll give that a try Having downloaded it, I must admit I was a bit put off by seeing things like init_system :: IO ()

Re: [Haskell-cafe] Haskell image libraries

2009-11-08 Thread Stephan Friedrichs
On Sun, 2009-11-08 at 16:34 +0200, Max Rabkin wrote: > 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 acces

Re: [Haskell-cafe] Haskell image libraries

2009-11-08 Thread Colin Paul Adams
> "Jeremy" == Jeremy Shaw writes: Jeremy> There is a partial binding to libgd: Jeremy> http://hackage.haskell.org/packages/archive/gd/3000.4.0/doc/html/Graphics-GD.html Jeremy> http://www.libgd.org/Main_Page Jeremy> But GD itself may not do what you want. I ended up using

Re: [Haskell-cafe] Haskell image libraries

2009-11-08 Thread Andrew Coppin
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

Re: [Haskell-cafe] Haskell image libraries

2009-11-08 Thread Jeremy Shaw
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-notif

Re: [Haskell-cafe] Haskell image libraries

2009-11-08 Thread Colin Paul Adams
> "Max" == Max Rabkin writes: Max> Haskellers, To add image support to fdo-notify, I need an Max> image type. Looking through Hackage, I didn't find any image Max> library with the following features: * Load from a variety of Max> formats (at least PNG and JPG, I'd say) * Effi

[Haskell-cafe] Haskell image libraries

2009-11-08 Thread Max Rabkin
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