Image transforms
Resize, crop and convert any stored image by adding options to its address.
https://<ref>.files.sypnia.app/menu/pan-masa-madre.jpg?width=600&height=400&resize=cover&format=webp&quality=80| Option | Values | Default |
|---|---|---|
width, height | 1–2,500 pixels | the original’s |
resize | cover (fill and crop), contain (fit inside), fill (stretch) | cover |
gravity | center, north, south, east, west, face | center |
format | origin, webp, avif, jpeg, png; auto picks AVIF or WebP from the browser’s Accept | auto |
quality | 20–100 | 80 |
blur | 0–100 | 0 |
The SDK builds these addresses: bucket.url(path, { width: 600, format: 'webp' }). For private files the options are part of the signed URL.
Supported originals: JPEG, PNG, WebP, AVIF, GIF (first frame), HEIC and TIFF, up to 25 MB and 50 megapixels. EXIF metadata, including GPS, is removed from transformed images.
Each distinct transform is made once and cached; the console shows how many transforms a project made in the month, which is what is metered.