note 43563 added to function.imagecolorsforindex
| From: | strozek at rn2 dot php dot net | Date: | Fri, 25 Jun 2004 17:32:28 +0000 |
| Subject: | note 43563 added to function.imagecolorsforindex | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-71685@lists.php.net to get a copy of this message | ||
Regarding m4551's method of conversion -- the actual CCIR-approved RGB-to-grayscale conversion
is as follows:
grayscale component = 0.2125*R + 0.7154*G + 0.0721*B
(cf. CCIR Recommendation 709 for modern monitors)
----
Manual Page -- http://www.php.net/manual/en/function.imagecolorsforindex.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43563
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43563&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43563&report=yes
Search -- http://master.php.net/manage/user-notes.php