'Get a tarball of an image. Similar to the ``docker save`` command.
Returns:
(urllib3.response.HTTPResponse object): The response from the
daemon.
Raises:
:py:class:`docker.errors.APIError`
If the server returns an error.
Example:
>>> image = cli.images.get("fedora:latest")
>>> resp = image.save()
>>> f = open(\'/tmp/fedora-latest.tar\', \'w\')
>>> for chunk in resp.stream():
>>>     f.write(chunk)
>>> f.close()'

def save(self):

    return self.client.api.get_image(self.id)
