Improve IMG_FILTER_GRAYSCALE documentation

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342945 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2017-08-27 12:45:43 +00:00
parent e1d271d4ca
commit e24b13ad4f

View file

@ -41,7 +41,10 @@
<listitem>
<simpara>
<constant>IMG_FILTER_GRAYSCALE</constant>: Converts the image into
grayscale.
grayscale by changing the red, green and blue components to their
weighted sum using the same coefficients as the REC.601 luma (Y')
calculation. The alpha components are retained. For palette images the
result may differ due to palette limitations.
</simpara>
</listitem>
<listitem>