Gimp.MaskApplyMode Layer mask apply modes. MaskApplyMode.APPLY Apply the mask MaskApplyMode.DISCARD Discard the mask More Information Gimp