Create An Image Mask Python