cvs: phpdoc /en/reference/image/functions imagegd.xml imagegd2.xml

From: Date: Wed, 19 Jan 2005 11:05:09 +0000
Subject: cvs: phpdoc /en/reference/image/functions imagegd.xml imagegd2.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969366043@lists.php.net to get a copy of this message
derek Wed Jan 19 06:05:09 2005 EDT Modified files: /phpdoc/en/reference/image/functions imagegd.xml imagegd2.xml Log: commiting for mazzanet http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagegd.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/image/functions/imagegd.xml diff -u phpdoc/en/reference/image/functions/imagegd.xml:1.4 phpdoc/en/reference/image/functions/imagegd.xml:1.5 --- phpdoc/en/reference/image/functions/imagegd.xml:1.4 Mon Jun 21 07:45:37 2004 +++ phpdoc/en/reference/image/functions/imagegd.xml Wed Jan 19 06:05:07 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.67 --> <refentry id='function.imagegd'> <refnamediv> @@ -14,7 +14,23 @@ <methodparam choice="opt"><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> - &warn.undocumented.func; + <function>imagegd</function> outputs a GD image to + <parameter>filename</parameter>. The <parameter>image</parameter> + argument is the return from the <function>imagecreate</function> + function. + </para> + <para> + The <parameter>filename</parameter> parameter is optional, and if left + off, the raw image stream will be output directly. + </para> + <note> + <para> + The GD format is commonly used to allow fast loading of parts of images. + Note that the GD format is only usable in GD-compatible applications. + </para> + </note> + <para> + See also <function>imagegd2</function>. </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagegd2.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/image/functions/imagegd2.xml diff -u phpdoc/en/reference/image/functions/imagegd2.xml:1.10 phpdoc/en/reference/image/functions/imagegd2.xml:1.11 --- phpdoc/en/reference/image/functions/imagegd2.xml:1.10 Mon Jun 21 07:45:37 2004 +++ phpdoc/en/reference/image/functions/imagegd2.xml Wed Jan 19 06:05:07 2005 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.67 --> <refentry id='function.imagegd2'> <refnamediv> <refname>imagegd2</refname> - <refpurpose>Output GD2 image</refpurpose> + <refpurpose>Output GD2 image to browser or file</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -16,7 +16,14 @@ <methodparam choice="opt"><type>int</type><parameter>type</parameter></methodparam> </methodsynopsis> <para> - <function>imagegd2</function> outputs GD2 image to browser or file. + <function>imagegd2</function> outputs a GD2 image to + <parameter>filename</parameter>. + The <parameter>image</parameter> parameter is the return from the + <function>imagecreate</function> function. + </para> + <para> + The <parameter>filename</parameter> parameter is optional, and if left + off, the raw image stream will be output directly. </para> <para> The optional <parameter>type</parameter> parameter is either @@ -30,6 +37,15 @@ in PHP 4.3.2. </para> </note> + <note> + <para> + The GD2 format is commonly used to allow fast loading of parts of images. + Note that the GD2 format is only usable in GD2-compatible applications. + </para> + </note> + <para> + See also <function>imagegd</function> + </para> </refsect1> </refentry>

« previous php.doc (#969366043) next »