public function apply($image) { for ($i = 0; $i < $this->amount; $i++) { imagefilter($image->getCore(), IMG_FILTER_GAUSSIAN_BLUR); } return $image; }