$filename->grayscale()
Normalizes the grayscale option value and also the available ways to write the option. You can use grayscale
, greyscale
or simply bw
. The function will always return grayscale
$filename->grayscale(): bool
Return type
bool
This method modifies the existing $filename
object it is applied to and returns it again.