mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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:
parent
46f576b3ae
commit
0135855ca8
1 changed files with 33 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue