note 39920 added to function.imagecopymergegray
| From: | annonymous at example dot com | Date: | Sun, 15 Feb 2004 21:25:45 +0000 |
| Subject: | note 39920 added to function.imagecopymergegray | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65181@lists.php.net to get a copy of this message | ||
in addition to code_couturier - try this formula to calculate gray-value (luminance) in his
"more exact" way:
$gray = round(.299*$red + .587*$green + .114*$blue);
----
Manual Page -- http://www.php.net/manual/en/function.imagecopymergegray.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39920
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39920&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39920&report=yes
Search -- http://master.php.net/manage/user-notes.php