[Haskell-cafe] Data.Bitmap question

Anders Lyckegaard anders.lyckegaard at gmail.com
Thu Jun 7 21:25:51 CEST 2012


2012/6/7 Krzysztof Skrzętnicki <gtener at gmail.com>

> 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
>

Thank you. I must have missed it on my Google tour de force. Works like a
charm.

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).
>
> Thank you for the tip. I'll have a look at Juicy.


Best regards,
> Krzysztof Skrzętnicki
>
> Best, Anders


> 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/babf3261/attachment.htm>


More information about the Haskell-Cafe mailing list