'Create a new abstract image
:param format: one of the format constants'

def __init__(self, format):

    super(Image, self).__init__()
    self.format = format
    if (format not in ALL_FORMATS):
        raise exception.InvalidImageFormat(format=format)
