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