Hello, guys I am trying to turn a bitmap image into 2D array .
This is my bitmap image:
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 ?
do you only need a bool indicator? like
pos1 isblack = false //means its white
pos2 isblack = true //means its black
?
if thats what you need then i think the easiest solution is to create a List<List<bool>> imagearraycheck
so you will have an example like this: