Blur
e:blur
The Gaussian blur is the result of blurring an image by a Gaussian function, typically to reduce image noise and reduce detail.
Aliases
e:b
Parameters
- the value of blurring as an integer, min 1, max 10000
Limitations
- Applicable only to images smaller than 25 mega pixels.
Dependencies
- This transformation does not have any dependencies.
Tips
- Blur is much cheaper on a smaller image, so we recommend to resize images before applying blur effect.
Examples
Set the width to 200px and add blur.
w:200_e:blur:300
use shardimage\shardimagephp\factories\Transformation;
$transformations = (new Transformation())->width(200)->blur(300);
Set the width to 200px, find the face and add blur to only that section.
w:200_g:face_e:blur:500
use shardimage\shardimagephp\factories\Transformation;
$transformations = (new Transformation())->width(200)->gFace()->blur(500);