@property
    def format(self):
        rv = self._get_image_info()[0]
        if rv is not None:
            return rv
        return Undefined('The format of the image could not be determined.')
Returns the format of the image.
dataset/ETHPy150Open lektor/lektor/lektor/db.py/Image.format