note 116407 added to imagick.setcolorspace
| From: | T | Date: | Sun, 28 Dec 2014 21:20:21 +0000 |
| Subject: | note 116407 added to imagick.setcolorspace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201271@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();
----
Server IP: 72.52.91.14
Probable Submitter: 79.97.88.144
----
Manual Page -- http://php.net/manual/en/imagick.setcolorspace.php
Edit -- https://master.php.net/note/edit/116407
Del: integrated -- https://master.php.net/note/delete/116407/integrated
Del: useless -- https://master.php.net/note/delete/116407/useless
Del: bad code -- https://master.php.net/note/delete/116407/bad+code
Del: spam -- https://master.php.net/note/delete/116407/spam
Del: non-english -- https://master.php.net/note/delete/116407/non-english
Del: in docs -- https://master.php.net/note/delete/116407/in+docs
Del: other reasons-- https://master.php.net/note/delete/116407
Reject -- https://master.php.net/note/reject/116407
Search -- https://master.php.net/manage/user-notes.php