note 116407 modified in imagick.setcolorspace by salathe
| From: | salathe@php.net | Date: | Fri, 02 Jan 2015 11:30:43 +0000 |
| Subject: | note 116407 modified in imagick.setcolorspace by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-201328@lists.php.net to get a copy of this message | ||
Right now this function doesn't appear to do anything, ref: http://stackoverflow.com/q/10739822/2685496
As mentioned in the answer, modulateImage works fine as a replacement for converting to gray scale.
<?php
$image = new Imagick("input.jpg");
$image->modulateImage(100, 0, 100);
$image->writeImage("output.jpg");
$image->clear();
?>
--was--
Right now this function doesn't appear to do anything, ref: http://stackoverflow.com/q/10739822/2685496
As mentioned in the answer, modulateImage works fine as a replacement for converting to gray scale.
<?php
$image = new Imagick("input.jpg");
$image->modulateImage(100, 0, 100);
$image->writeImage("output.jpg");
$image->clear();
http://php.net/manual/en/imagick.setcolorspace.php