Fix various bugs inside gd documentation part 1/3

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263821 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kalle Sommer Nielsen 2008-07-30 03:05:34 +00:00
parent c34bac89bd
commit 85bdebe1e4
10 changed files with 51 additions and 19 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<refentry xml:id="function.image2wbmp" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>image2wbmp</refname>
@ -36,6 +36,7 @@
<term><parameter>threshold</parameter></term>
<listitem>
<para>
Threshold value, between 0 and 255 (inclusive)
</para>
</listitem>
</varlistentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<refentry xml:id="function.imagecolormatch" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagecolormatch</refname>
@ -12,9 +12,9 @@
<methodparam><type>resource</type><parameter>image1</parameter></methodparam>
<methodparam><type>resource</type><parameter>image2</parameter></methodparam>
</methodsynopsis>
&warn.undocumented.func;
<para>
Makes the colors of the palette version of an image more closely match the true color version
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<refentry xml:id="function.imagecolorsforindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagecolorsforindex</refname>
@ -25,6 +25,7 @@
<term><parameter>index</parameter></term>
<listitem>
<para>
The color index
</para>
</listitem>
</varlistentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<refentry xml:id="function.imageconvolution" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imageconvolution</refname>
@ -44,6 +44,7 @@
<term><parameter>offset</parameter></term>
<listitem>
<para>
Color offset
</para>
</listitem>
</varlistentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<refentry xml:id='function.imagecreatefromgd' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagecreatefromgd</refname>
@ -12,7 +12,7 @@
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
</methodsynopsis>
<para>
&warn.undocumented.func;
Create a new image from GD file or URL
</para>
&tip.fopen-wrapper;
</refsect1>
@ -24,12 +24,19 @@
<term><parameter>filename</parameter></term>
<listitem>
<para>
Path to the GD file
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns an image resource identifier on success, &false; on errors.
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
&warn.no-win32-fopen-wrapper;

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- $Revision: 1.9 $ -->
<refentry xml:id='function.imagecreatefromgd2' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagecreatefromgd2</refname>
@ -11,7 +11,9 @@
<type>resource</type><methodname>imagecreatefromgd2</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
</methodsynopsis>
&warn.undocumented.func;
<para>
Create a new image from GD2 file or URL
</para>
&tip.fopen-wrapper;
</refsect1>
<refsect1 role="parameters">
@ -22,12 +24,19 @@
<term><parameter>filename</parameter></term>
<listitem>
<para>
Path to the GD2 image
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns an image resource identifier on success, &false; on errors.
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
&note.gd.2;

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- $Revision: 1.9 $ -->
<refentry xml:id='function.imagecreatefromgd2part' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagecreatefromgd2part</refname>
@ -15,7 +15,9 @@
<methodparam><type>int</type><parameter>width</parameter></methodparam>
<methodparam><type>int</type><parameter>height</parameter></methodparam>
</methodsynopsis>
&warn.undocumented.func;
<para>
Create a new image from a given part of GD2 file or URL
</para>
&tip.fopen-wrapper;
</refsect1>
<refsect1 role="parameters">
@ -26,6 +28,7 @@
<term><parameter>filename</parameter></term>
<listitem>
<para>
Path to the GD2 image
</para>
</listitem>
</varlistentry>
@ -33,6 +36,7 @@
<term><parameter>srcX</parameter></term>
<listitem>
<para>
x-coordinate of source point
</para>
</listitem>
</varlistentry>
@ -40,6 +44,7 @@
<term><parameter>srcY</parameter></term>
<listitem>
<para>
y-coordinate of source point
</para>
</listitem>
</varlistentry>
@ -47,6 +52,7 @@
<term><parameter>width</parameter></term>
<listitem>
<para>
Source width
</para>
</listitem>
</varlistentry>
@ -54,12 +60,19 @@
<term><parameter>height</parameter></term>
<listitem>
<para>
Source height
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns an image resource identifier on success, &false; on errors.
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
&note.gd.2;

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.18 $ -->
<!-- $Revision: 1.19 $ -->
<refentry xml:id="function.imagecreatefromgif" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagecreatefromgif</refname>
@ -44,7 +44,7 @@ imagegif($img);
&example.outputs.similar;
<mediaobject>
<imageobject>
<imagedata fileref="figures/image.imagefromgif.png"/>
<imagedata fileref="figures/image.imagecreatefromgif.gif"/>
</imageobject>
</mediaobject>
</example>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.14 $ -->
<!-- $Revision: 1.15 $ -->
<refentry xml:id="function.imagecreatefrompng" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagecreatefrompng</refname>
@ -47,7 +47,7 @@ imagepng($img);
&example.outputs.similar;
<mediaobject>
<imageobject>
<imagedata fileref="figures/image.imagecreatefrompng.png"/>
<imagedata fileref="figures/image.imagecreatefrompng.gif"/>
</imageobject>
</mediaobject>
</example>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<refentry xml:id="function.imagecreatefromxpm" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagecreatefromxpm</refname>
@ -41,7 +41,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
&note.bundled.gd;
&warn.no-win32-fopen-wrapper;
&note.no-windows;
</refsect1>
</refentry>