I want to create an application that receives an image with only black and white tiles. White tiles would mean a space that you can move in, while black tile would be a space that you can't move in (a wall maybe)
In this image i want to define a starting point and a goal point (maybe with diferent colors, red and yellow) so I can study pathfinding problems
How can I read an image and process the information it has in it?
It would be sometinhg like that: 
Here I'm able to define walls, starting point, goal point in an image and I'd like to read it's data. How can I do that in python?