Image::greyscale

Turn the current image into a greyscale version

2.9M Downloads / Month

Open Source MIT License

You are viewing the documentation for Intervention Image 2, this version has reached EOL. Please consider upgrading to version 3.

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

Edit