note 94721 added to class.imagick
| From: | martijn at elicit dot nl | Date: | Fri, 20 Nov 2009 10:50:42 +0000 |
| Subject: | note 94721 added to class.imagick | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163122@lists.php.net to get a copy of this message | ||
In case you are wondering why the function imageGrayscale() doesn't exist ... it's because
imageModulate(100,0,100) does the trick already!
<?php
$f = 'enter filename here';
$i = new Imagick($f);
$i->imageModulate(100,0,100);
header('Content-type: image/jpeg');
echo $i;
?>
----
Server IP: 91.199.167.18
Probable Submitter: 84.245.17.50
----
Manual Page -- http://www.php.net/manual/en/class.imagick.php
Edit -- https://master.php.net/note/edit/94721
Del: integrated -- https://master.php.net/note/delete/94721/integrated
Del: useless -- https://master.php.net/note/delete/94721/useless
Del: bad code -- https://master.php.net/note/delete/94721/bad+code
Del: spam -- https://master.php.net/note/delete/94721/spam
Del: non-english -- https://master.php.net/note/delete/94721/non-english
Del: in docs -- https://master.php.net/note/delete/94721/in+docs
Del: other reasons-- https://master.php.net/note/delete/94721
Reject -- https://master.php.net/note/reject/94721
Search -- https://master.php.net/manage/user-notes.php