Hello, guys I am trying to turn a bitmap image into 2D array .
This is my bitmap image:
http://store.picbg.net/pubpic/28/7C/...823fcc287c.png
I want to represent each white pixel inside the array with 1 and each black pixel with 0,but I need only pure white and pure black
And then redraw it , any ideas ?

