Cloudimage - Documentation

Blurred background

When using fit operation, padding may be added to the resized image. To fill the padding with the image itself, use the bg_img_fit=1 operation together with fit.

Default options

When you include the bg_img_fit=1 option, the default settings are used.



You can control the background opacity with bg_opacity=X - X between 0 and 1.

/ h=330&bg_img_fit=1&bg_opacity=0.85


You can set the radius of the Gaussian blur applied to the background with bg_blur=X.



To tint the background, use bg_colourise=X with X being the colour code or name.

/ bg_img_fit=1&bg_opacity=0.7&bg_colourise=red

If you are migrating from Cloudimage APIv6, you could use the legacy blending mode for blurred backgrond colourise (lc prefix): bg_colourise=lc330000 or bg_colourise=lcblack.