cvs: phpdoc /en/functions image.xml

From: Date: Sun, 15 Apr 2001 13:24:32 +0000
Subject: cvs: phpdoc /en/functions image.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969335005@lists.php.net to get a copy of this message
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>

« previous php.doc (#969335005) next »