Image::greyscale

Turn the current image into a greyscale version

2.1M Downloads / Month

Open Source MIT License

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