Converts an image to grayscale.
$image: An image object returned by image_load().
bool TRUE on success, FALSE on failure.
\Drupal\system\Plugin\ImageToolkitInterface::desaturate()
function image_desaturate($image) {
return $image->toolkit
->desaturate($image);
}