@property
    def as_dict(self):
        return {"size": (self.width, self.height), "width": self.width,
                "height": self.height, "crop": self.crop, "upscale": self.upscale}
This property returns a dictionary suitable for Thumbnailer.get_thumbnail()
dataset/ETHPy150Open divio/django-filer/filer/models/thumbnailoptionmodels.py/ThumbnailOption.as_dict