Skip to content

Quick reference

NameGETDescription
WidthwSet the width of the image, in pixels or as a percentage.info
HeighthSet the height of the image, in pixels or as a percentage.info
Device pixel ratiodprSet the output density of the image.info
FitfitSet how the image is fitted to its target dimensions.info
Contain backgroundcbgSet the background color when using &fit=contain.info
Without enlargementweDo not enlarge the image.info
Alignment positionaSet how the image is aligned.info
Rectangle cropcropCrop the image to specific dimensions.info
Pre-resize cropprecropA pre-resize crop behaviour.info
TrimtrimTrim pixels from all edges.info
Trim backgroundtbgSet the background color for trimming similar values.info
MaskingmaskSet the mask type from a predefined list.info
Mask trimmtrimRemove the remaining whitespace from the mask.info
Mask backgroundmbgSet the background color of the mask.info
FlipflipMirror the image vertically (up-down) about the x-axis.info
FlopflopMirror the image horizontally (left-right) about the y-axis.info
RotationroRotate the image.info
Rotation backgroundrbgSet the background color when rotating by arbitrary angles.info
BackgroundbgSet the background color of the image.info
BlurblurBlur the image.info
ContrastconAdjust the image contrast.info
FilterfiltApply a filter effect to the image.info
GammagamApply a gamma correction.info
ModulatemodTransform the image using brightness, saturation and hue rotation.info
SaturationsatAdjust the saturation of the image.info
Hue rotationhueApply a hue rotation to the image.info
SharpensharpSharpen the image.info
TinttintTint the image.info
Adaptive filterafA filter algorithm that can be applied before compression.info
Base64 (data URL)encodingEncode the image to be used directly in the src= of the <img>-tag.info
Cache-ControlmaxageSpecify how long the browser should cache the image.info
Compression levellThe zlib compression level.info
Lossless compressionllEnable lossless compression for the output image.info
Default imagedefaultRedirect to a default image when an image fails to load.info
FilenamefilenameSpecify the filename in the Content-Disposition headerinfo
Interlace / progressiveilAdd interlacing to GIF and PNG. JPEG's become progressive.info
Number of pagesnSelect the number of pages to render.info
OutputoutputEncode the image to a specific format.info
PagepageLoad a specific page.info
QualityqSet the quality of the image.info