an extremely useful modify to cut 1 pixel of the image's edge