[PHP-DOC] cvs: phpdoc /en/functions image.xml From: Wez Furlong (wez.php <email protected>)
Date: 04/15/01

wez Sun Apr 15 06:24:32 2001 EDT

  Modified files:
    /phpdoc/en/functions image.xml
  Log:
  Corrected imagetruecolortopalette signature.
  
  
Index: phpdoc/en/functions/image.xml
diff -u phpdoc/en/functions/image.xml:1.34 phpdoc/en/functions/image.xml:1.35
--- phpdoc/en/functions/image.xml:1.34 Fri Apr 13 17:16:21 2001
+++ phpdoc/en/functions/image.xml Sun Apr 15 06:24:31 2001
@@ -1095,6 +1095,8 @@
      <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 @@
           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 @@
 
   <refentry id="function.imagesetbrush">
    <refnamediv>
- <refname>ImageSetTile</refname>
+ <refname>ImageSetBrush</refname>
     <refpurpose>Set the brush image for line drawing</refpurpose>
    </refnamediv>
    <refsect1>