Which pixel is the boundary? Do you mean the gray pixels? All of them or just any of them, say the one at row 1, column 1? Or do you mean the white border" of the snapshot? Or the white, torn, exposed paper? Why don' tyou repost with an arrow pointing to the pixel you want. Anyway, did you try impixel()?