public function apply($image) { imagefilter($image->getCore(), IMG_FILTER_CONTRAST, $this->amount * -1); return $image; }