In a bitmap, is it possible to identify single pixels sticking out from a shape? Let's say I have this black shape in a black-and-white bitmap:
xxxxxxxx
xxxxxxxx
xxxxxxxx
xxxxxxxx
x
an 8 by 4 rectangle with one pixel sticking out from the bottom. Question is, can I find such pixels using a script (JS) and make it white?
Thanks,
Peter