Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(int i=0; i<ZedMask.width; i++)
- {
- for (int j = 0; j < ZedMask.height; j++)
- {
- Color pixelColour = ZedMask.GetPixel(i, j);
- if(pixelColour == new Color(2,3,4) )
- {
- //add to ARRAY
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement