diff --git a/Adapter/GD.php b/Adapter/GD.php index b63c734..4a7d239 100644 --- a/Adapter/GD.php +++ b/Adapter/GD.php @@ -118,6 +118,13 @@ public function negate() return $this; } + public function blur($p) + { + for ($i = 1; $i <= $p; $i++) + imagefilter($this->resource, IMG_FILTER_GAUSSIAN_BLUR); + return $this; + } + /** * @inheritdoc */ @@ -126,7 +133,7 @@ public function brightness($brightness) imagefilter($this->resource, IMG_FILTER_BRIGHTNESS, $brightness); return $this; } - + /** * @inheritdoc */