public function apply($image) { imagefilter($image->getCore(), IMG_FILTER_GRAYSCALE); return $image; }