Skip to content

Quick reference ‚Äč

WidthwSets the width of the image, in
HeighthSets the height of the image, in
Device pixel ratiodprSets the output density of the
FitfitSets how the image is fitted to its target
Contain backgroundcbgSets the background color when using &
Without enlargementweDo not enlarge the
Alignment positionaSets how the image is
Rectangle cropcropCrops the image to specific
Pre-resize cropprecropA pre-resize crop
TrimtrimTrim "boring" pixels from all
MaskingmaskSets the mask type from a predefined
Mask trimmtrimRemoves the remaining whitespace from the
Mask backgroundmbgSets the background color of the
FlipflipMirror the image vertically (up-down) about the
FlopflopMirror the image horizontally (left-right) about the
RotationroRotates the
Rotation backgroundrbgSets the background color when rotating by arbitrary
BackgroundbgSets the background color of the
BlurblurAdds a blur effect to the
ContrastconAdjusts the image
FilterfiltApplies a filter effect to the
GammagamAdjusts the image
ModulatemodTransforms the image using brightness, saturation and hue
SaturationsatAdjusts the saturation of the
Hue rotationhueApplies a hue rotation to the
SharpensharpSharpen the
TinttintTint the
Adaptive filterafA filter algorithm that can be applied before
Base64 (data URL)encodingEncodes the image to be used directly in the src= of the <img>
Cache-ControlmaxageHow long an image should be cached by the
Compression levellThe zlib compression
Lossless compressionllWhether the resulting image should be lossless
Default imagedefaultRedirects to a default image when there is a problem loading an
FilenamefilenameTo specify the
Interlace / progressiveilAdds interlacing to GIF and PNG. JPEG's become
Number of pagesnTo select the the number of pages to
OutputoutputEncodes the image to a specific
PagepageTo load a given
QualityqDefines the quality of the