cvs: phpdoc /en language-snippets.ent /en/reference/image/functions imagecreatefromjpeg.xml imagecreatefromwbmp.xml imagejpeg.xml jpeg2wbmp.xml
png2wbmp.xml

From: Date: Mon, 21 Feb 2005 20:59:54 +0000
Subject: cvs: phpdoc /en language-snippets.ent /en/reference/image/functions imagecreatefromjpeg.xml imagecreatefromwbmp.xml imagejpeg.xml jpeg2wbmp.xml
png2wbmp.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969366716@lists.php.net to get a copy of this message
philip Mon Feb 21 15:59:54 2005 EDT Modified files: /phpdoc/en language-snippets.ent /phpdoc/en/reference/image/functions imagejpeg.xml imagecreatefromjpeg.xml jpeg2wbmp.xml imagecreatefromwbmp.xml png2wbmp.xml Log: Document that jpeg and wbmp support requires GD-1.8 or later. http://cvs.php.net/diff.php/phpdoc/en/language-snippets.ent?r1=1.136&r2=1.137&ty=u Index: phpdoc/en/language-snippets.ent diff -u phpdoc/en/language-snippets.ent:1.136 phpdoc/en/language-snippets.ent:1.137 --- phpdoc/en/language-snippets.ent:1.136 Tue Feb 15 04:45:57 2005 +++ phpdoc/en/language-snippets.ent Mon Feb 21 15:59:53 2005 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.136 $ --> +<!-- $Revision: 1.137 $ --> <!-- Keep 'em sorted --> @@ -186,12 +186,17 @@ if PHP is compiled using <option role="configure">--with-t1lib[=DIR]</option>. </simpara></note>'> +<!ENTITY note.config.jpeg '<note><simpara>JPEG support is only available if +PHP was compiled against GD-1.8 or later.</simpara></note>'> + +<!ENTITY note.config.wbmp '<note><simpara>WBMP support is only available if +PHP was compiled against GD-1.8 or later.</simpara></note>'> + <!ENTITY note.bundled.gd '<note><simpara>This function is only available if PHP is compiled with the bundled version of the GD library.</simpara></note>'> <!ENTITY note.gd.2 '<note><simpara>This function requires GD 2.0.1 or later.</simpara></note>'> - <!-- DomXml Notes --> <!ENTITY node.inserted 'This node will not show up in the document unless it is inserted with e.g. <function>domnode_append_child</function>.'> http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagejpeg.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/image/functions/imagejpeg.xml diff -u phpdoc/en/reference/image/functions/imagejpeg.xml:1.4 phpdoc/en/reference/image/functions/imagejpeg.xml:1.5 --- phpdoc/en/reference/image/functions/imagejpeg.xml:1.4 Mon Jun 21 07:45:37 2004 +++ phpdoc/en/reference/image/functions/imagejpeg.xml Mon Feb 21 15:59:53 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.30 --> <refentry id="function.imagejpeg"> <refnamediv> @@ -28,12 +28,9 @@ <function>header</function>, you can create a PHP script that outputs JPEG images directly. </para> - <note> - <para> - JPEG support is only available if PHP was compiled - against GD-1.8 or later. - </para> - </note> + + &note.config.jpeg; + <para> <parameter>quality</parameter> is optional, and ranges from 0 (worst quality, smaller file) to 100 (best quality, biggest file). http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml diff -u phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.8 phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.9 --- phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.8 Thu Jan 15 07:42:37 2004 +++ phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml Mon Feb 21 15:59:54 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.4 --> <refentry id="function.imagecreatefromjpeg"> <refnamediv> @@ -47,6 +47,7 @@ </programlisting> </example> </para> + &note.config.jpeg; &tip.fopen-wrapper; &warn.no-win32-fopen-wrapper; </refsect1> http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/jpeg2wbmp.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc/en/reference/image/functions/jpeg2wbmp.xml diff -u phpdoc/en/reference/image/functions/jpeg2wbmp.xml:1.2 phpdoc/en/reference/image/functions/jpeg2wbmp.xml:1.3 --- phpdoc/en/reference/image/functions/jpeg2wbmp.xml:1.2 Wed Apr 17 02:39:15 2002 +++ phpdoc/en/reference/image/functions/jpeg2wbmp.xml Mon Feb 21 15:59:54 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.61 --> <refentry id="function.jpeg2wbmp"> <refnamediv> @@ -23,14 +23,10 @@ <parameter>d_width</parameter> you specify the height and width of the destination image. </para> - <para> - <note> - <para> - WBMP support is only available if PHP was compiled - against GD-1.8 or later. - </para> - </note> - </para> + + &note.config.jpeg; + &note.config.wbmp; + <para> See also <function>png2wbmp</function>. </para> http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml diff -u phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml:1.8 phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml:1.9 --- phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml:1.8 Thu Jan 15 07:42:37 2004 +++ phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml Mon Feb 21 15:59:54 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.30 --> <refentry id="function.imagecreatefromwbmp"> <refnamediv> @@ -47,12 +47,7 @@ </programlisting> </example> </para> - <note> - <para> - WBMP support is only available if PHP was compiled - against GD-1.8 or later. - </para> - </note> + &note.config.wbmp; &tip.fopen-wrapper; &warn.no-win32-fopen-wrapper; </refsect1> http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/png2wbmp.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc/en/reference/image/functions/png2wbmp.xml diff -u phpdoc/en/reference/image/functions/png2wbmp.xml:1.2 phpdoc/en/reference/image/functions/png2wbmp.xml:1.3 --- phpdoc/en/reference/image/functions/png2wbmp.xml:1.2 Wed Apr 17 02:39:15 2002 +++ phpdoc/en/reference/image/functions/png2wbmp.xml Mon Feb 21 15:59:54 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.13 --> <refentry id="function.png2wbmp"> <refnamediv> @@ -23,14 +23,7 @@ <parameter>d_width</parameter> you specify the height and width of the destination image. </para> - <para> - <note> - <para> - WBMP support is only available if PHP was compiled - against GD-1.8 or later. - </para> - </note> - </para> + &note.config.wbmp; <para> See also <function>jpeg2wbmp</function>. </para>

« previous php.doc (#969366716) next »