note 109244 added to imagick.thresholdimage
| From: | phpttractiondotde | Date: | Fri, 29 Jun 2012 07:25:13 +0000 |
| Subject: | note 109244 added to imagick.thresholdimage | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-188964@lists.php.net to get a copy of this message | ||
getQuantumRange() can be handy here:
$i = new Imagick($imageFile);
$max = $i->getQuantumRange();
$max = $max["quantumRangeLong"];
$i->thresholdImage(0.77 * $max);
----
Server IP: 69.147.83.197
Probable Submitter: 92.228.62.207
----
Manual Page -- http://www.php.net/manual/en/imagick.thresholdimage.php
Edit -- https://master.php.net/note/edit/109244
Del: integrated -- https://master.php.net/note/delete/109244/integrated
Del: useless -- https://master.php.net/note/delete/109244/useless
Del: bad code -- https://master.php.net/note/delete/109244/bad+code
Del: spam -- https://master.php.net/note/delete/109244/spam
Del: non-english -- https://master.php.net/note/delete/109244/non-english
Del: in docs -- https://master.php.net/note/delete/109244/in+docs
Del: other reasons-- https://master.php.net/note/delete/109244
Reject -- https://master.php.net/note/reject/109244
Search -- https://master.php.net/manage/user-notes.php