class Greitspitz::Transformer
- Greitspitz::Transformer
- Reference
- Object
Overview
Applies a list of operations to transform a source image. Allows a format parameter to force an output format other than JPEG.
Defined in:
greitspitz/transformer.crConstant Summary
-
FORMATS =
{"avif" => ".avif", "jpeg" => ".jpg", "png" => ".png"}
-
We only support a subset of available formats in VIPS to reduce the attack surface on the server and only serve image formats that make sense in the browser.