Imagick Grayscale

Hi!

Does anyone know how to convert an image using the Imagick class?
Google doesn’t really help much as it seems to return mostly stuff about Imagick::embossImage().

Thanks!
Alex

http://www.php.net/manual/en/function.imagick-setimagecolorspace.php

Thanks Dan!

I’ve also found this, which works great:


$img = new Imagick('image.png');
$img->modulateImage(100,0,100);