There is module with a set of unsafeFoo functions here: http://hackage.haskell.org/packages/archive/bitmap/0.0.2/doc/html/Data-Bitmap-Pure-Pixels.html
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 < [email protected]> 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 > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > >
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
