Bkwld\Croppa\Filters\TurquoiseWarhol::applyFilter PHP Метод

applyFilter() публичный Метод

Applies filter to given thumbnail object.
public applyFilter ( GdThumb $thumb ) : Intervention\Image\Image
$thumb GdThumb
Результат Intervention\Image\Image
    public function applyFilter(GdThumb $thumb)
    {
        $thumb->imageFilter(IMG_FILTER_GRAYSCALE);
        $thumb->imageFilter(IMG_FILTER_BRIGHTNESS, 80);
        $thumb->imageFilter(IMG_FILTER_COLORIZE, -137, -45, -73);
        return $thumb;
    }
TurquoiseWarhol