mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
e1d271d4ca
commit
e24b13ad4f
1 changed files with 4 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue