[Haskell-cafe] Data.Bitmap question

Krzysztof Skrzętnicki gtener at gmail.com
Thu Jun 7 15:56:04 CEST 2012


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 <
anders.lyckegaard at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120607/07b6e203/attachment.htm>


More information about the Haskell-Cafe mailing list