[PHPDOC] cvs: phpdoc /en/functions/ image.xml From: Sterling Hughes (sterling <email protected>)
Date: 05/24/00

sterling Thu May 25 03:57:31 2000 EDT

  Modified files:
    /phpdoc/en/functions image.xml
  Log:
  Add the ImageColorDeAllocate function.
  
  
Index: phpdoc/en/functions/image.xml
diff -u phpdoc/en/functions/image.xml:1.7 phpdoc/en/functions/image.xml:1.8
--- phpdoc/en/functions/image.xml:1.7 Thu May 25 03:02:39 2000
+++ phpdoc/en/functions/image.xml Thu May 25 03:57:31 2000
@@ -203,6 +203,39 @@
     </para>
    </refsect1>
   </refentry>
+
+ <refentry id="function.imagecolordeallocate">
+ <refnamediv>
+ <refname>ImageColorDeAllocate</refname>
+ <refpurpose>
+ De-allocate a color for an image
+ </refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>int
+ <function>imagecolordeallocate</function>
+ </funcdef>
+ <paramdef>int
+ <parameter>im</parameter>
+ </paramdef>
+ <paramdef>int
+ <parameter>index</parameter>
+ </paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>ImageColorDeAllocate</function> function de-allocates a color previously
+ allocated with the <function>ImageColorAllocate</function> function.
+ <informalexample>
+ <programlisting role="php">
+$white = ImageColorAllocate($im, 255, 255, 255);
+ImageColorDeAllocate($im, $white);
+ </programlisting>
+ </informalexample>
+ </para>
+ </refsect1>
+ </refentry>
 
   <refentry id="function.imagecolorat">
    <refnamediv>