<br><div class="gmail_quote">2012/6/7 Krzysztof Skrzêtnicki <span dir="ltr">&lt;<a href="mailto:gtener@gmail.com" target="_blank">gtener@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There is module with a set of unsafeFoo functions here: <a href="http://hackage.haskell.org/packages/archive/bitmap/0.0.2/doc/html/Data-Bitmap-Pure-Pixels.html" target="_blank">http://hackage.haskell.org/packages/archive/bitmap/0.0.2/doc/html/Data-Bitmap-Pure-Pixels.html</a><br>
</blockquote><div><br>Thank you. I must have missed it on my Google tour de force. Works like a charm.  <br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I guess you can use them, but I haven&#39;t personally used it.<br><br>I have, with great success, used different package: JuicyPixels (here: <a href="http://hackage.haskell.org/package/JuicyPixels" target="_blank">http://hackage.haskell.org/package/JuicyPixels</a>).<br>



<br></blockquote><div>Thank you for the tip. I&#39;ll have a look at Juicy. <br><br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Best regards,<br>
Krzysztof Skrzêtnicki<br><br></blockquote><div>Best, Anders<br>
  <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><div><div class="h5">On Thu, Jun 7, 2012 at 2:59 PM, Anders Lyckegaard <span dir="ltr">&lt;<a href="mailto:anders.lyckegaard@gmail.com" target="_blank">anders.lyckegaard@gmail.com</a>&gt;</span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hi,<br><br>I have a short question on using Data.Bitmap. <br><br>I have imported an image using STB-image.<br>
<br>img &lt;- loadImage &quot;filename&quot;<br>


<br>Now I get img which is a Bitmap data structure. How do I access individual pixels?<br>
<br>Thank you in advance,<br>Anders<br>
<br></div></div>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br>
</blockquote></div><br>