cvs: phpdoc /en/functions image.xml
| From: | Kontra Gergely | Date: | Thu, 06 Sep 2001 15:17:05 +0000 |
| Subject: | cvs: phpdoc /en/functions image.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969337471@lists.php.net to get a copy of this message | ||
kgergely Thu Sep 6 11:17:05 2001 EDT
Modified files:
/phpdoc/en/functions image.xml
Log:
Adding a silly (but I hope useful for beginners) comment about RGB components.
Index: phpdoc/en/functions/image.xml
diff -u phpdoc/en/functions/image.xml:1.52 phpdoc/en/functions/image.xml:1.53
--- phpdoc/en/functions/image.xml:1.52 Mon Sep 3 11:26:23 2001
+++ phpdoc/en/functions/image.xml Thu Sep 6 11:17:05 2001
@@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
-<!-- $Revision: 1.52 $ -->
+<!-- $Revision: 1.53 $ -->
<reference id="ref.image">
<title>Image functions</title>
<titleabbrev>Image</titleabbrev>
@@ -394,7 +394,10 @@
identifier representing the color composed of the given
<acronym>RGB</acronym> components. The <parameter>im</parameter>
argument is the return from the <function>imagecreate</function>
- function. <function>ImageColorAllocate</function> must be called
+ function. <parameter>Red</parameter>, <parameter>green</parameter> 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.
+ <function>ImageColorAllocate</function> must be called
to create each color that is to be used in the image represented
by <parameter>im</parameter>.
<informalexample>