Source Generators

easy-thumbnails allows you to add to (or completely replace) the way that the base image is generated from the source file.

An example of a custom source generator would be one that generated a source image from a video file which could then be used to generate the appropriate thumbnail.

Built-in generators

easy_thumbnails.source_generators.pil_image(source, exif_orientation=True, **options)

Try to open the source file directly using PIL, ignoring any errors.

exif_orientation

If EXIF orientation data is present, perform any required reorientation before passing the data along the processing pipeline.