Fork me on GitHub

greyscale — Turn an image into a greyscale version

Description

public Intervention\Image\Image greyscale()

Turns image into a greyscale version.

Parameters

none

Return Values

Instance of Intervention\Image\Image

Examples

// create new Intervention Image and turn it into greyscale version
$img = Image::make('public/foo.jpg')->greyscale();

See also