Hello. How do i make a flood fill in python?
For exampel. I choose to download this picture of world countries. I save this as picture.png in a folder. The folder also contains a python file whith the name change.py.
The change.py file is gonna change USA to yellow. To do this the code need to know where in x,y axis the USA is. It's not to be exactly beacuse flood fill will change the whole USA to yellow just by flood fill in one pixel in the area of USA.
Do you know how to do?