Types¶
-
imgproxykit.types.Argument =
Argument¶ Scalar value accepted in an option’s positional arguments.
Values in
arguments. Booleans become1or0.Noneleaves an empty argument position; trailingNonevalues are omitted by the default serializer.
-
imgproxykit.types.FormatType =
FormatType¶ Image format identifiers accepted by imgproxykit.
Formats for
Format,FormatQuality, and theformatkeyword ofTransform. For example, usejpgfor JPEG andjxlfor JPEG XL.An identifier in this type does not guarantee output support on your server. Supported input and output formats depend on the imgproxy build; SVG output has additional restrictions.
See imgproxy format and the image formats support matrix.
-
imgproxykit.types.Position =
Position¶ Gravity codes for
GravityandCrop.See imgproxy gravity.
-
imgproxykit.types.ResizeType =
ResizeType¶ Resizing modes for
ResizeandResizingType.
-
imgproxykit.types.SourceEncoding =
SourceEncoding¶ Source URL representations accepted by
Client.Values for the
source_encodingkeyword ofClientandPathSerializer. Usebase64for URL-safe Base64 without padding orplainfor full UTF-8 percent-encoding. The default isbase64.See imgproxy source URLs.
-
imgproxykit.types.WatermarkPosition =
WatermarkPosition¶ Placement codes for
Watermark.See imgproxy watermark.