From efcd9ae09813109588b4eb4f62543662ea42568f Mon Sep 17 00:00:00 2001 From: Kontra Gergely Date: Thu, 6 Sep 2001 15:17:05 +0000 Subject: [PATCH] Adding a silly (but I hope useful for beginners) comment about RGB components. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@56950 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/image.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/functions/image.xml b/functions/image.xml index 424adae8af..7da5ffc79f 100644 --- a/functions/image.xml +++ b/functions/image.xml @@ -1,5 +1,5 @@ - + Image functions Image @@ -394,7 +394,10 @@ identifier representing the color composed of the given RGB components. The im argument is the return from the imagecreate - function. ImageColorAllocate must be called + function. Red, green and + blue are the values of the red, green and blue component of the requested + color respectively. These parameters are integers between 0 and 255. + ImageColorAllocate must be called to create each color that is to be used in the image represented by im.