Intervention/Image2

首页

greyscale()


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

2023-09-08 更新 本文链接:https://upwqy.com/index.php/wiki/info/896.html



getCore() height()