| 7 image.inc | image_desaturate(stdClass $image) |
| 8 image.inc | image_desaturate(stdClass $image) |
Convert an image to grayscale.
Parameters
$image: An image object returned by image_load().
Return value
TRUE on success, FALSE on failure.
See also
Related topics
2 calls to image_desaturate()
6 string references to 'image_desaturate'
File
- includes/
image.inc, line 354 - API for manipulating images.
Code
function image_desaturate(stdClass $image) {
return image_toolkit_invoke('desaturate', $image);
}
Login or register to post comments