Quick reference
Name | GET | Description | |
---|---|---|---|
Width | w | Sets the width of the image, in pixels. | info |
Height | h | Sets the height of the image, in pixels. | info |
Device pixel ratio | dpr | Sets the output density of the image. | info |
Fit | fit | Sets how the image is fitted to its target dimensions. | info |
Contain background | cbg | Sets the background color when using &fit=contain . | info |
Without enlargement | we | Do not enlarge the image. | info |
Alignment position | a | Sets how the image is aligned. | info |
Rectangle crop | crop | Crops the image to specific dimensions. | info |
Pre-resize crop | precrop | A pre-resize crop behaviour. | info |
Trim | trim | Trim "boring" pixels from all edges. | info |
Masking | mask | Sets the mask type from a predefined list. | info |
Mask trim | mtrim | Removes the remaining whitespace from the mask. | info |
Mask background | mbg | Sets 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 | Rotates the image. | info |
Rotation background | rbg | Sets the background color when rotating by arbitrary angles. | info |
Background | bg | Sets the background color of the image. | info |
Blur | blur | Adds a blur effect to the image. | info |
Contrast | con | Adjusts the image contrast. | info |
Filter | filt | Applies a filter effect to the image. | info |
Gamma | gam | Adjusts the image gamma. | info |
Modulate | mod | Transforms the image using brightness, saturation and hue rotation. | info |
Saturation | sat | Adjusts the saturation of the image. | info |
Hue rotation | hue | Applies 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 | Encodes the image to be used directly in the src= of the <img> -tag. | info |
Cache-Control | maxage | How long an image should be cached by the browser. | info |
Compression level | l | The zlib compression level. | info |
Lossless compression | ll | Whether the resulting image should be lossless compressed. | info |
Default image | default | Redirects to a default image when there is a problem loading an image. | info |
Filename | filename | To specify the filename. | info |
Interlace / progressive | il | Adds interlacing to GIF and PNG. JPEG's become progressive. | info |
Number of pages | n | To select the the number of pages to render. | info |
Output | output | Encodes the image to a specific format. | info |
Page | page | To load a given page. | info |
Quality | q | Defines the quality of the image. | info |