Applying filters

Uploadcare features automatic image enhancement along with other filters like sharpening, blurring, desaturating, and more,

enhance

-/enhance/
-/enhance/:strength/

Auto-enhances an image by performing the following operations: auto levels, auto contrast, and saturation sharpening. :strength values should be in the range from 0 to 100. The default value is 50.


Original image. 28Kb

/enhance/50/ 33Kb

/enhance/100/ 38Kb

sharp

-/sharp/
-/sharp/:strength/

Sharpens an image, might be especially useful with images that were subjected to downscaling. :strength can be in the range from 0 to 20 and defaults to the value of 5.


Downscaled image. 13Kb

/sharp/10/ 16Kb

/sharp/20/ 18Kb

blur

-/blur/
-/blur/:strength/

Blurs images by the :strength factor. The filtering mode is Gaussian Blur, where :strength parameter sets the blur radius — effect intensity. Technically, :strength controls the Gaussian Blur standard deviation multiplied by ten. The value of :strength might come up to 5000, while the default value is 10. Note, different :strength values do not affect the operation performance.


Original image. 16Kb

/blur/20/ 8Kb

/blur/100/ 6Kb

grayscale

Desaturates images. The operation has no additional parameters and simply produces a grayscale image output when applied.


Original image.

/grayscale/

invert

Inverts images rendering a 'negative' of the input.


Original image.

/invert/

We’re always happy to help with code, integration, and other stuff. Search our site for more info or post your question in our Community Area.