1
0
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:
Oliver Vogel
2021-10-29 20:10:40 +02:00
parent 088f92147d
commit be5301dd89

View File

@@ -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)
);
}
}