Image Operations

Perform most commonly used image operations.

upscale

If your image is less than 512x512 pixels (262144 px), e.g., if height >512, width should be <512 and vice versa. Gumlet can 4x upscale the image using AI to enhance quality and remove artifacts.

upscale=trueoriginal
upscale=trueoriginal

🚧

This feature is only available for paid plan users

remove_bg

Gumlet uses AI to remove the background from a given image and replace it with transparent pixels.

remove_bg=trueoriginal
remove_bg=trueoriginal

🚧

This feature is only available to enterprise plan users.

rotate

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

flip

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.

blur

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.

blur=10original
blur=10original

threshold

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.

threshold=100original
threshold=100original

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.

opacity=50opacity=50&bg=ff0000original
opacity=50opacity=50&bg=ff0000original

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.

sharp

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

sharp=10original
sharp=10original