On Sun, Mar 22, 2009 at 3:43 PM, jeljer te Wies <jeljer / me.com> wrote:
> This is what i now tried (image is ofcourse a array so I did 2 just to
> test it) but
> it's not working :(

Of course it's not.  The image appears as an array when you view it as
an image, but it's encoded and compressed inside the PNG.

You'll need to find or craft a library that can decode the PNG format
(many exist; googling should help you here) and use it to then read
each pixel from the image.

Ben