Various modes of image masking