Perform most commonly used image operations.


Rotates the image as per number of degrees provided as 0, 90, 180 or 270


flip=v will vertically flip the image. flip=h will horizontally flip the image. flip=hv or flip=vh will flip both horizontally and vertically.


Applies Gaussian blur of a given blur radius in float. blur=2.5 will blur the image by taking gaussian blur of 2.5 pixel radius. Valid values are between 0 and 100.



Any pixel value greather than or equal to the threshold value will be set to 255, otherwise it will be set to 0. The parameter should be integer between 0 and 255.


opacity (o)

You can change image opacity by using this parameter. The value can be between 0 and 100 . 0 being fully transparent and 100 being most opaque. The default value is undefined

For JPEG output, the image will be put on white background as it's default value for background parameter. You can always specify different value for background parameter along with opacity.


gamma (gam)

Apply a gamma correction by reducing the encoding (darken) pre-resize at a factor of 1/gamma then increasing the encoding (brighten) post-resize at a factor of gamma. This can improve the perceived brightness of a resized image in non-linear color spaces. JPEG and WebP input images will not take advantage of the shrink-on-load performance optimization when applying a gamma correction.

Valid value is between 1.0 and 3.0. Default is 2.2

contrast (con)

Adjust the contrast of the image. Valid values are between -100 to 100. Default value is 1.


Sharpen the image. This operation performs accurate sharpen of the L channel in the LAB color space. Valid values are between 0 and 100.