@classmethod
    def from_image(cls, image, partname):
        return ImagePart(partname, image.content_type, image.blob, image)
Return an |ImagePart| instance newly created from *image* and
dataset/ETHPy150Open python-openxml/python-docx/docx/parts/image.py/ImagePart.from_image