
There is module with a set of unsafeFoo functions here: http://hackage.haskell.org/packages/archive/bitmap/0.0.2/doc/html/Data-Bitma... I guess you can use them, but I haven't personally used it. I have, with great success, used different package: JuicyPixels (here: http://hackage.haskell.org/package/JuicyPixels). Best regards, Krzysztof Skrzętnicki On Thu, Jun 7, 2012 at 2:59 PM, Anders Lyckegaard < anders.lyckegaard@gmail.com> wrote:
Hi,
I have a short question on using Data.Bitmap.
I have imported an image using STB-image.
img <- loadImage "filename"
Now I get img which is a Bitmap data structure. How do I access individual pixels?
Thank you in advance, Anders
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe