Imagekit image processors.
A processor accepts an image, does some stuff, and returns the result. Processors can do anything with the image you want, but their responsibilities should be limited to image manipulations–they should be completely decoupled from both the filesystem and the ORM.
Performs color, brightness, contrast, and sharpness enhancements on the image. See PIL.ImageEnhance for more imformation.
Parameters: |
|
---|
A processor that does some common-sense conversions based on the target format. This includes things like preserving transparency and quantizing. This processors is used automatically by ImageSpec and ProcessedImageField immediately before saving the image unless you specify autoconvert=False.
A list of other processors. This class allows any object that knows how to deal with a single processor to deal with a list of them. For example:
processed_image = ProcessorPipeline([ProcessorA(), ProcessorB()]).process(image)
Creates an image with a reflection.
Rotates or flips the image.
The order of the arguments dictates the order in which the Transposition steps are taken.
If Transpose.AUTO is present, all other arguments are ignored, and the processor will attempt to rotate the image according to the EXIF Orientation data.
Resizes an image , cropping it to the specified width and height.
Parameters: |
|
---|
Resizes an image to fit within the specified dimensions.
Parameters: |
|
---|
A convenience utility for adding thumbnails to Django’s admin change list.
Parameters: |
|
---|