I am trying to erase
which has same colour pixel
from particular coordinates
and want to erase that pixel.I used floodfill algorithm
but it not working properly.I looking for a tool like magicwand tool.
So I am trying to implement on my own so can anyone please help me how to compare two pixel in an image?
please help me with the code or sample example.