You are here

function image_imagick_desaturate_process in Imagick 7

Parameters

$res:

Return value

bool

1 string reference to 'image_imagick_desaturate_process'
image_imagick_desaturate in effects/imagick.desaturate.inc
Convert an image resource to grayscale.

File

effects/imagick.desaturate.inc, line 23

Code

function image_imagick_desaturate_process($res) {
  return (bool) $res
    ->setImageType(imagick::IMGTYPE_GRAYSCALEMATTE);
}