def image_create(self, disk, label=None, description=None):
params = {<EOL>"<STR_LIT>": disk.id if issubclass(type(disk), Base) else disk,<EOL>}<EOL>if label is not None:<EOL><INDENT>params["<STR_LIT:label>"] = label<EOL><DEDENT>if description is not None:<EOL><INDENT>params["<STR_LIT:description>"] = description<EOL><DEDENT>result = self.post('<STR_LIT>', data=params)<EOL>if not '<STR_LIT:id>' in result:<EOL><INDENT>raise UnexpectedResponseError('<STR_LIT>'<EOL>'<STR_LIT>'.format(disk))<EOL><DEDENT>return Image(self, result['<STR_LIT:id>'], result)<EOL>
Creates a new Image from a disk you own.

:param disk: The Disk to imagize.
:type disk: Disk or int
:param label: The label for the resulting Image (defaults to the disk's
              label.
:type label: str
:param description: The description for the new Image.
:type description: str

:returns: The new Image.
:rtype: Image