mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 17:08:54 +00:00
Corrected imagetruecolortopalette signature.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45297 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6b124cd6e4
commit
8339b2bf02
1 changed files with 12 additions and 1 deletions
|
@ -1095,6 +1095,8 @@ ImagePng ($im);
|
|||
<funcprototype>
|
||||
<funcdef>void <function>imagetruecolortopalette</function></funcdef>
|
||||
<paramdef>resource <parameter>im</parameter></paramdef>
|
||||
<paramdef>bool <parameter>dither</parameter></paramdef>
|
||||
<paramdef>int <parameter>ncolors</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
|
@ -1107,6 +1109,15 @@ ImagePng ($im);
|
|||
usually best to simply produce a truecolor output image instead, which
|
||||
guarantees the highest output quality.
|
||||
</para>
|
||||
<para>
|
||||
<parameter>dither</parameter> indicates if the image should be dithered -
|
||||
if it is true then dithering will be used which will result in a more
|
||||
speckled image but with better color approximation.
|
||||
</para>
|
||||
<para>
|
||||
<parameter>ncolors</parameter> sets the maximum number of colors that
|
||||
should be retained in the palette.
|
||||
</para>
|
||||
<note><para>This function was added in PHP 4.0.6</para></note>
|
||||
<note><para>This function requires GD 2.0.1 or later</para></note>
|
||||
</refsect1>
|
||||
|
@ -2370,7 +2381,7 @@ permits to find a solution.
|
|||
|
||||
<refentry id="function.imagesetbrush">
|
||||
<refnamediv>
|
||||
<refname>ImageSetTile</refname>
|
||||
<refname>ImageSetBrush</refname>
|
||||
<refpurpose>Set the brush image for line drawing</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
|
Loading…
Reference in a new issue