2012/6/7 Krzysztof Skrzętnicki <[email protected]>

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

Reply via email to