Is is more simple. Create a preview of the size of the image (full size). After applying the mask preview to this preview, and finally make a new image from it (drag and drop the identifier tab at the left of the image's window, or use the menu command). That's all. Now you can use this new image a as mask, with the traditional masks system.