'Return an |ImagePart| instance newly created from *image* and
assigned *partname*.'

@classmethod
def from_image(cls, image, partname):

    return ImagePart(partname, image.content_type, image.blob, image)
