def test_bool_in_inline_image(): piim = PdfInlineImage(image_data=b'', image_object=(Name.IM, True)) assert piim.image_mask
def encode_iimage(iimage: PdfInlineImage): return iimage.unparse()