Transform

class imgproxykit.Transform(*options, **kwargs)[source]

Define reusable image processing options.

Stores an immutable tuple of options for reuse with imgproxykit.Client.url(). Pass option instances or scalar keyword arguments; scalar options follow the positional options in keyword order.

Options retain their supplied order during serialization. Imgproxy determines the image processing pipeline and resolves omitted arguments using its defaults. Preset options reference names configured on the imgproxy server and are not expanded here.

options

Tuple of processing options. Defaults to an empty tuple, which adds no processing option segments to the URL.