blur — Blurs an image
Description
public Intervention\Image\Image blur([integer $amount])
Apply a gaussian blur filter with a certain amount on the current image.
Note: Performance intensive on larger amounts of blur. Use with care.
Parameters
amount (optional)
The amount of the blur strength. Usually values between 1 and 10 will do the work in acceptable time. Default: 1
Return Values
Instance of Intervention\Image\Image
Examples
// create new Intervention Image
$img = Image::make('public/foo.jpg');
// apply slight blur filter
$img->blur(1);
// apply stronger blur
$img->blur(15);
See also
当前内容版权归 intervention 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 intervention .