Standard transformation URL reference
This page specifies the URL-encoding scheme for standard transformations and adjustments.
URL structure
Standard transformations are encoded into the asset URL:
{baseUrl}/transform/image/{segment}/{segment}/...
Each transformation produces one segment in the format {id}:{parameters}.
Segments are joined with /.
Transformations set to their default value are omitted from the URL.
Transformations
Resize
| Field | Type | Options/Range | Default |
|---|---|---|---|
Size |
Text |
Width x Height (for example, |
— |
Resize type |
Select |
|
— |
Upscale |
Checkbox |
|
— |
Padding top |
Number |
min: 0 |
— |
Padding right |
Number |
min: 0 |
— |
Padding bottom |
Number |
min: 0 |
— |
Padding left |
Number |
min: 0 |
— |
URL format: resize:{resize-type}:{upscale}:{width}x{height}
With optional padding: /padding:{left}x{top}:{right}x{bottom}
Example: resize:fit-in:upscale:800x600/padding:10x5:15x20
Crop
| Field | Type | Range | Default |
|---|---|---|---|
Top |
Number |
min: 0 |
— |
Right |
Number |
min: 0 |
— |
Bottom |
Number |
min: 0 |
— |
Left |
Number |
min: 0 |
— |
The crop fields are disabled until the crop tool is activated.
URL format: crop:{left}x{top}:{right}x{bottom}
Example: crop:50x100:400x300
Rotate
| Field | Type | Range | Default |
|---|---|---|---|
Rotate |
Slider |
0–270, step: 90 |
0 |
URL format: rotate:{angle}
Example: rotate:90
Proportion
| Field | Type | Range | Default |
|---|---|---|---|
Proportion |
Slider |
5–100 |
100 |
URL format: proportion:{percentage}
Example: proportion:50
Adjustments
Each adjustment uses a slider control and is omitted from the URL when set to its default value of 0.
| Adjustment | Range | Step | Default | URL format |
|---|---|---|---|---|
Brightness |
-100 to 100 |
1 |
0 |
|
Contrast |
-100 to 100 |
1 |
0 |
|
Saturation |
-100 to 100 |
1 |
0 |
|
Hue |
-100 to 100 |
1 |
0 |
|
Sharpen |
0 to 1 |
0.1 |
0 |
|
Blur |
0 to 100 |
— |
0 |
|
Output formats
Selects the output image format. When set to "Auto", no format segment is added to the URL.
| Format | Value |
|---|---|
JPEG |
|
PNG |
|
GIF |
|
WebP |
|
TIFF |
|
AVIF |
|
JP2 |
|
URL format: format:{value}
Example: format:webp