Add the ImageColorDeAllocate function.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@25003 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sterling Hughes 2000-05-25 01:57:31 +00:00
parent 46f576b3ae
commit 0135855ca8

View file

@ -203,6 +203,39 @@ $black = ImageColorAllocate ($im, 0, 0, 0);
</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>