public function applyFilter(GdThumb $thumb) { $thumb->imageFilter(IMG_FILTER_NEGATE); $thumb->imageFilter(IMG_FILTER_CONTRAST, -50); return $thumb; }