cvs: phpdoc /en/reference/image/functions imagecreatefromstring.xml

From: Date: Tue, 06 Sep 2005 19:58:58 +0000
Subject: cvs: phpdoc /en/reference/image/functions imagecreatefromstring.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969369945@lists.php.net to get a copy of this message
dallas Tue Sep 6 15:58:58 2005 EDT Modified files: /phpdoc/en/reference/image/functions imagecreatefromstring.xml Log: Corresponding with new Doc style. http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecreatefromstring.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/image/functions/imagecreatefromstring.xml diff -u phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.6 phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.7 --- phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.6 Wed Aug 10 00:48:11 2005 +++ phpdoc/en/reference/image/functions/imagecreatefromstring.xml Tue Sep 6 15:58:57 2005 @@ -1,47 +1,40 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.31 --> - <refentry id="function.imagecreatefromstring"> - <refnamediv> - <refname>imagecreatefromstring</refname> - <refpurpose>Create a new image from the image stream in the string</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>resource</type><methodname>imagecreatefromstring</methodname> - <methodparam><type>string</type><parameter>image</parameter></methodparam> - </methodsynopsis> - <para> - <function>imagecreatefromstring</function> returns an image identifier - representing the image obtained from the given string. These types - will be automatically detected if your build of PHP supports them: - JPEG, PNG, GIF, WBMP, and GD2. - </para> - </refsect1> - <refsect1> - &reftitle.returnvalues; - <para> - An image resource will be returned on success. &false; is returned if - the image type is unsupported, the data is not in a recognised format, - or the image is corrupt and cannot be loaded. - </para> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>imagecreatefromjpeg</function>, - <function>imagecreatefrompng</function>, - <function>imagecreatefromgif</function>&listendand; - <function>imagecreatetruecolor</function> - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <para> - <example> - <title><function>imagecreatefromstring</function> example</title> - <programlisting role="php"> +<refentry id="function.imagecreatefromstring"> + <refnamediv> + <refname>imagecreatefromstring</refname> + <refpurpose>Create a new image from the image stream in the string</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>resource</type><methodname>imagecreatefromstring</methodname> + <methodparam><type>string</type><parameter>image</parameter></methodparam> + </methodsynopsis> + <para> + <function>imagecreatefromstring</function> returns an image identifier + representing the image obtained from the given string. These types + will be automatically detected if your build of PHP supports them: + JPEG, PNG, GIF, WBMP, and GD2. + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + An image resource will be returned on success. &false; is returned if + the image type is unsupported, the data is not in a recognised format, + or the image is corrupt and cannot be loaded. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>imagecreatefromstring</function> example</title> + <programlisting role="php"> <![CDATA[ <?php $data = 'iVBORw0KGgoAAAANSUhEUgAAABwAAAASCAMAAAB/2U7WAAAABl' @@ -60,11 +53,24 @@ } ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>imagecreatefromjpeg</function></member> + <member><function>imagecreatefrompng</function></member> + <member><function>imagecreatefromgif</function></member> + <member><function>imagecreatetruecolor</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables:

« previous php.doc (#969369945) next »