status = image:SetMaskImage(maskimage)
image:SetMaskImage() sets the mask image. maskimage must be a 1-bit gray-scale image.
#HPDF_INVALID_IMAGE - An invalid image handle was set.
#HPDF_INVALID_BIT_PER_COMPONENT - An invalid bit-per-component.
#HPDF_FAILED_TO_ALLOC_MEM - Memory allocation failed.