Support for the image mask in higher resolution than the image itself