Quick reference
| Name | GET | Description | |
|---|---|---|---|
| Width | w | Set the width of the image, in pixels or as a percentage. | info |
| Height | h | Set the height of the image, in pixels or as a percentage. | info |
| Device pixel ratio | dpr | Set the output density of the image. | info |
| Fit | fit | Set how the image is fitted to its target dimensions. | info |
| Contain background | cbg | Set the background color when using &fit=contain. | info |
| Without enlargement | we | Do not enlarge the image. | info |
| Alignment position | a | Set how the image is aligned. | info |
| Rectangle crop | crop | Crop the image to specific dimensions. | info |
| Pre-resize crop | precrop | A pre-resize crop behaviour. | info |
| Trim | trim | Trim pixels from all edges. | info |
| Trim background | tbg | Set the background color for trimming similar values. | info |
| Masking | mask | Set the mask type from a predefined list. | info |
| Mask trim | mtrim | Remove the remaining whitespace from the mask. | info |
| Mask background | mbg | Set the background color of the mask. | info |
| Flip | flip | Mirror the image vertically (up-down) about the x-axis. | info |
| Flop | flop | Mirror the image horizontally (left-right) about the y-axis. | info |
| Rotation | ro | Rotate the image. | info |
| Rotation background | rbg | Set the background color when rotating by arbitrary angles. | info |
| Background | bg | Set the background color of the image. | info |
| Blur | blur | Blur the image. | info |
| Contrast | con | Adjust the image contrast. | info |
| Filter | filt | Apply a filter effect to the image. | info |
| Gamma | gam | Apply a gamma correction. | info |
| Modulate | mod | Transform the image using brightness, saturation and hue rotation. | info |
| Saturation | sat | Adjust the saturation of the image. | info |
| Hue rotation | hue | Apply a hue rotation to the image. | info |
| Sharpen | sharp | Sharpen the image. | info |
| Tint | tint | Tint the image. | info |
| Adaptive filter | af | A filter algorithm that can be applied before compression. | info |
| Base64 (data URL) | encoding | Encode the image to be used directly in the src= of the <img>-tag. | info |
| Cache-Control | maxage | Specify how long the browser should cache the image. | info |
| Compression level | l | The zlib compression level. | info |
| Lossless compression | ll | Enable lossless compression for the output image. | info |
| Default image | default | Redirect to a default image when an image fails to load. | info |
| Filename | filename | Specify the filename in the Content-Disposition header | info |
| Interlace / progressive | il | Add interlacing to GIF and PNG. JPEG's become progressive. | info |
| Number of pages | n | Select the number of pages to render. | info |
| Output | output | Encode the image to a specific format. | info |
| Page | page | Load a specific page. | info |
| Quality | q | Set the quality of the image. | info |