Find Nearest Pixels, Change ..

I am trying to find some functions which would allow me to “expand” pixels but only in places which are “Black”(False), with nearest AnyColor (True) pixels .

273553-pobrane.jpg

So with this texture it would change all the Black squares into also White square, because the closest pixels from within the balck squares are white.

Are you saying you want the expand the black squares, like a magnifying glass, or you actually want to change them to white? ( so the whole thing would just be white ).