Skip to content

TransformOptions

Options for on-the-fly image transformations Applied to storage downloads via query parameters

PropertyTypeDescription
fit?ImageFitModeHow to fit the image within target dimensions (default: cover)
format?ImageFormatOutput format (defaults to original format)
height?numberTarget height in pixels (0 or undefined = auto based on width)
quality?numberOutput quality 1-100 (default: 80)
width?numberTarget width in pixels (0 or undefined = auto based on height)