mirror of
https://github.com/Intervention/image.git
synced 2025-08-30 09:10:21 +02:00
Added blur() method
This commit is contained in:
@@ -94,4 +94,11 @@ abstract class AbstractImage
|
||||
$this->resolveDriverClass('Modifiers\GreyscaleModifier')
|
||||
);
|
||||
}
|
||||
|
||||
public function blur(int $amount): ImageInterface
|
||||
{
|
||||
return $this->modify(
|
||||
$this->resolveDriverClass('Modifiers\BlurModifier', $amount)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user