cvs: phpdoc /en/reference/image book.xml examples.xml setup.xml /en/reference/image/functions getimagesize.xml imagecreatetruecolor.xml
imageinterlace.xml
| From: | Yannick Torres | Date: | Sun, 03 May 2009 13:17:08 +0000 |
| Subject: | cvs: phpdoc /en/reference/image book.xml examples.xml setup.xml /en/reference/image/functions getimagesize.xml imagecreatetruecolor.xml imageinterlace.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3941@lists.php.net to get a copy of this message | ||
yannick Sun May 3 13:17:08 2009 UTC
Modified files:
/phpdoc/en/reference/image/functions imagecreatetruecolor.xml
getimagesize.xml
imageinterlace.xml
/phpdoc/en/reference/image setup.xml examples.xml book.xml
Log:
fix markup
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecreatetruecolor.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc/en/reference/image/functions/imagecreatetruecolor.xml diff -u phpdoc/en/reference/image/functions/imagecreatetruecolor.xml:1.19 phpdoc/en/reference/image/functions/imagecreatetruecolor.xml:1.20 --- phpdoc/en/reference/image/functions/imagecreatetruecolor.xml:1.19 Mon Feb 16 11:38:14 2009 +++ phpdoc/en/reference/image/functions/imagecreatetruecolor.xml Sun May 3 13:17:07 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> +<!-- $Revision: 1.20 $ --> <refentry xml:id="function.imagecreatetruecolor" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>imagecreatetruecolor</refname> @@ -88,7 +88,7 @@ ¬e.gd.2; <note> <para> - This function will not work with GIF file formats. + This function will not work with <acronym>GIF</acronym> file formats. </para> </note> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/getimagesize.xml?r1=1.41&r2=1.42&diff_format=u Index: phpdoc/en/reference/image/functions/getimagesize.xml diff -u phpdoc/en/reference/image/functions/getimagesize.xml:1.41 phpdoc/en/reference/image/functions/getimagesize.xml:1.42 --- phpdoc/en/reference/image/functions/getimagesize.xml:1.41 Wed Apr 15 07:54:17 2009 +++ phpdoc/en/reference/image/functions/getimagesize.xml Sun May 3 13:17:07 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.41 $ --> +<!-- $Revision: 1.42 $ --> <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.getimagesize"> <refnamediv> <refname>getimagesize</refname> @@ -15,7 +15,7 @@ <para> The <function>getimagesize</function> function will determine the size of any given image file and return the dimensions along with - the file type and a height/width text string to be used inside a + the file type and a <literal>height/width</literal> text string to be used inside a normal <acronym>HTML</acronym> <tag>IMG</tag> tag and the correspondant <acronym>HTTP</acronym> content type. </para> @@ -27,7 +27,7 @@ <simpara> Note that JPC and JP2 are capable of having components with different bit depths. In this case, the value for "bits" is the highest bit depth encountered. Also, JP2 - files may contain multiple JPEG 2000 codestreams. In this case, + files may contain <literal>multiple JPEG 2000 codestreams</literal>. In this case, <function>getimagesize</function> returns the values for the first codestream it encounters in the root of the file. </simpara> @@ -96,14 +96,14 @@ <para> Index 3 is a text string with the correct <literal>height="yyy" width="xxx"</literal> string that can be used - directly in an IMG tag. + directly in an <acronym>IMG</acronym> tag. </para> <para> <literal>mime</literal> is the correspondant MIME type of the image. This information can be used to deliver images with correct the HTTP <literal>Content-type</literal> header: <example> - <title>getimagesize() and MIME types</title> + <title><function>getimagesize</function> and MIME types</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imageinterlace.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/reference/image/functions/imageinterlace.xml diff -u phpdoc/en/reference/image/functions/imageinterlace.xml:1.10 phpdoc/en/reference/image/functions/imageinterlace.xml:1.11 --- phpdoc/en/reference/image/functions/imageinterlace.xml:1.10 Mon Jan 12 15:45:02 2009 +++ phpdoc/en/reference/image/functions/imageinterlace.xml Sun May 3 13:17:07 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <refentry xml:id="function.imageinterlace" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>imageinterlace</refname> @@ -16,8 +16,8 @@ <function>imageinterlace</function> turns the interlace bit on or off. </para> <para> - If the interlace bit is set and the image is used as a JPEG image, - the image is created as a progressive JPEG. + If the interlace bit is set and the image is used as a <acronym>JPEG</acronym> image, + the image is created as a progressive <acronym>JPEG</acronym>. </para> </refsect1> <refsect1 role="parameters"> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/setup.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/image/setup.xml diff -u phpdoc/en/reference/image/setup.xml:1.3 phpdoc/en/reference/image/setup.xml:1.4 --- phpdoc/en/reference/image/setup.xml:1.3 Thu Jan 1 19:42:10 2009 +++ phpdoc/en/reference/image/setup.xml Sun May 3 13:17:08 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <chapter xml:id="image.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; @@ -17,14 +17,15 @@ version of <acronym>GD</acronym> you install, and any other libraries <acronym>GD</acronym> might need to access those image formats. Versions of <acronym>GD</acronym> older than gd-1.6 - support GIF format images, and do not support PNG, where versions - greater than gd-1.6 and less than gd-2.0.28 support PNG, not GIF. GIF + support <acronym>GIF</acronym> format images, and do not support + <acronym>PNG</acronym>, where versions greater than gd-1.6 and less than + gd-2.0.28 support PNG, not GIF. <acronym>GIF</acronym> support was re-enabled in gd-2.0.28. <note> <simpara> - Since PHP 4.3 there is a bundled version of the GD lib. This bundled - version has some additional features like alpha blending, and should - be used in preference to the external library + Since PHP 4.3 there is a bundled version of the <acronym>GD</acronym> + lib. This bundled version has some additional features like alpha + blending, and should be used in preference to the external library since its codebase is better maintained and more stable. </simpara> </note> @@ -36,7 +37,7 @@ </para> </note> <para> - You may wish to enhance GD to handle more image formats. + You may wish to enhance <acronym>GD</acronym> to handle more image formats. <table> <title>Supported image formats</title> <tgroup cols="3"> @@ -52,9 +53,9 @@ <entry><literal>gif</literal></entry> <entry></entry> <entry> - Only supported in GD versions older than gd-1.6 and newer than + Only supported in <acronym>GD</acronym> versions older than gd-1.6 and newer than gd-2.0.28. <emphasis>Read-only - </emphasis> GIF support is available with PHP 4.3.0 and the bundled + </emphasis> <acronym>GIF</acronym> support is available with PHP 4.3.0 and the bundled GD-library. <emphasis>Write</emphasis> support is available since PHP 4.3.9 and PHP 5.0.1. </entry> @@ -74,7 +75,7 @@ <entry><literal>png</literal></entry> <entry><link xlink:href="&url.libpng;">&url.libpng;</link></entry> <entry> - Only supported in GD versions greater than gd-1.6. + Only supported in <acronym>GD</acronym> versions greater than gd-1.6. </entry> </row> <row> @@ -91,7 +92,7 @@ </para> <para> - You may wish to enhance GD to deal with different fonts. The following + You may wish to enhance <acronym>GD</acronym> to deal with different fonts. The following font libraries are supported: <table> <title>Supported font libraries</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/examples.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/image/examples.xml diff -u phpdoc/en/reference/image/examples.xml:1.6 phpdoc/en/reference/image/examples.xml:1.7 --- phpdoc/en/reference/image/examples.xml:1.6 Mon Feb 16 11:38:13 2009 +++ phpdoc/en/reference/image/examples.xml Sun May 3 13:17:08 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <chapter xml:id="image.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.examples; @@ -24,10 +24,10 @@ ]]> </programlisting> </example> - This example would be called from a page with a tag like: <img - src="button.php?text=text">. The above button.php script - then takes this "text" string and overlays it on top of a - base image which in this case is "images/button1.png" + This example would be called from a page with a tag like: <literal><img + src="button.php?text=text"></literal>. The above <filename>button.php</filename> script + then takes this <literal>"text"</literal> string and overlays it on top of a + base image which in this case is <literal>"images/button1.png"</literal> and outputs the resulting image. This is a very convenient way to avoid having to draw new button images every time you want to change the text of a button. With this method they are http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/book.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/image/book.xml diff -u phpdoc/en/reference/image/book.xml:1.4 phpdoc/en/reference/image/book.xml:1.5 --- phpdoc/en/reference/image/book.xml:1.4 Tue Apr 21 00:16:16 2009 +++ phpdoc/en/reference/image/book.xml Sun May 3 13:17:08 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- Purpose: utilspec.image --> <!-- Membership: bundled --> @@ -13,11 +13,12 @@ <para> PHP is not limited to creating just HTML output. It can also be used to create and manipulate image files in a variety of different - image formats, including gif, png, jpg, wbmp, and xpm. Even more - convenient, PHP can output image streams directly to a browser. You - will need to compile PHP with the GD library of image functions for - this to work. GD and PHP may also require other libraries, depending - on which image formats you want to work with. + image formats, including <acronym>GIF</acronym>, <acronym>PNG</acronym>, + <acronym>JPEG</acronym>, <acronym>WBMP</acronym>, and <acronym>XPM</acronym>. + Even more convenient, PHP can output image streams directly to a browser. You + will need to compile PHP with the <acronym>GD</acronym> library of image + functions for this to work. <acronym>GD</acronym> and PHP may also require + other libraries, depending on which image formats you want to work with. </para> <para> You can use the image functions in PHP to get the size of
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecreatetruecolor.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc/en/reference/image/functions/imagecreatetruecolor.xml diff -u phpdoc/en/reference/image/functions/imagecreatetruecolor.xml:1.19 phpdoc/en/reference/image/functions/imagecreatetruecolor.xml:1.20 --- phpdoc/en/reference/image/functions/imagecreatetruecolor.xml:1.19 Mon Feb 16 11:38:14 2009 +++ phpdoc/en/reference/image/functions/imagecreatetruecolor.xml Sun May 3 13:17:07 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> +<!-- $Revision: 1.20 $ --> <refentry xml:id="function.imagecreatetruecolor" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>imagecreatetruecolor</refname> @@ -88,7 +88,7 @@ ¬e.gd.2; <note> <para> - This function will not work with GIF file formats. + This function will not work with <acronym>GIF</acronym> file formats. </para> </note> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/getimagesize.xml?r1=1.41&r2=1.42&diff_format=u Index: phpdoc/en/reference/image/functions/getimagesize.xml diff -u phpdoc/en/reference/image/functions/getimagesize.xml:1.41 phpdoc/en/reference/image/functions/getimagesize.xml:1.42 --- phpdoc/en/reference/image/functions/getimagesize.xml:1.41 Wed Apr 15 07:54:17 2009 +++ phpdoc/en/reference/image/functions/getimagesize.xml Sun May 3 13:17:07 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.41 $ --> +<!-- $Revision: 1.42 $ --> <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.getimagesize"> <refnamediv> <refname>getimagesize</refname> @@ -15,7 +15,7 @@ <para> The <function>getimagesize</function> function will determine the size of any given image file and return the dimensions along with - the file type and a height/width text string to be used inside a + the file type and a <literal>height/width</literal> text string to be used inside a normal <acronym>HTML</acronym> <tag>IMG</tag> tag and the correspondant <acronym>HTTP</acronym> content type. </para> @@ -27,7 +27,7 @@ <simpara> Note that JPC and JP2 are capable of having components with different bit depths. In this case, the value for "bits" is the highest bit depth encountered. Also, JP2 - files may contain multiple JPEG 2000 codestreams. In this case, + files may contain <literal>multiple JPEG 2000 codestreams</literal>. In this case, <function>getimagesize</function> returns the values for the first codestream it encounters in the root of the file. </simpara> @@ -96,14 +96,14 @@ <para> Index 3 is a text string with the correct <literal>height="yyy" width="xxx"</literal> string that can be used - directly in an IMG tag. + directly in an <acronym>IMG</acronym> tag. </para> <para> <literal>mime</literal> is the correspondant MIME type of the image. This information can be used to deliver images with correct the HTTP <literal>Content-type</literal> header: <example> - <title>getimagesize() and MIME types</title> + <title><function>getimagesize</function> and MIME types</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imageinterlace.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/reference/image/functions/imageinterlace.xml diff -u phpdoc/en/reference/image/functions/imageinterlace.xml:1.10 phpdoc/en/reference/image/functions/imageinterlace.xml:1.11 --- phpdoc/en/reference/image/functions/imageinterlace.xml:1.10 Mon Jan 12 15:45:02 2009 +++ phpdoc/en/reference/image/functions/imageinterlace.xml Sun May 3 13:17:07 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <refentry xml:id="function.imageinterlace" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>imageinterlace</refname> @@ -16,8 +16,8 @@ <function>imageinterlace</function> turns the interlace bit on or off. </para> <para> - If the interlace bit is set and the image is used as a JPEG image, - the image is created as a progressive JPEG. + If the interlace bit is set and the image is used as a <acronym>JPEG</acronym> image, + the image is created as a progressive <acronym>JPEG</acronym>. </para> </refsect1> <refsect1 role="parameters"> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/setup.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/image/setup.xml diff -u phpdoc/en/reference/image/setup.xml:1.3 phpdoc/en/reference/image/setup.xml:1.4 --- phpdoc/en/reference/image/setup.xml:1.3 Thu Jan 1 19:42:10 2009 +++ phpdoc/en/reference/image/setup.xml Sun May 3 13:17:08 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <chapter xml:id="image.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; @@ -17,14 +17,15 @@ version of <acronym>GD</acronym> you install, and any other libraries <acronym>GD</acronym> might need to access those image formats. Versions of <acronym>GD</acronym> older than gd-1.6 - support GIF format images, and do not support PNG, where versions - greater than gd-1.6 and less than gd-2.0.28 support PNG, not GIF. GIF + support <acronym>GIF</acronym> format images, and do not support + <acronym>PNG</acronym>, where versions greater than gd-1.6 and less than + gd-2.0.28 support PNG, not GIF. <acronym>GIF</acronym> support was re-enabled in gd-2.0.28. <note> <simpara> - Since PHP 4.3 there is a bundled version of the GD lib. This bundled - version has some additional features like alpha blending, and should - be used in preference to the external library + Since PHP 4.3 there is a bundled version of the <acronym>GD</acronym> + lib. This bundled version has some additional features like alpha + blending, and should be used in preference to the external library since its codebase is better maintained and more stable. </simpara> </note> @@ -36,7 +37,7 @@ </para> </note> <para> - You may wish to enhance GD to handle more image formats. + You may wish to enhance <acronym>GD</acronym> to handle more image formats. <table> <title>Supported image formats</title> <tgroup cols="3"> @@ -52,9 +53,9 @@ <entry><literal>gif</literal></entry> <entry></entry> <entry> - Only supported in GD versions older than gd-1.6 and newer than + Only supported in <acronym>GD</acronym> versions older than gd-1.6 and newer than gd-2.0.28. <emphasis>Read-only - </emphasis> GIF support is available with PHP 4.3.0 and the bundled + </emphasis> <acronym>GIF</acronym> support is available with PHP 4.3.0 and the bundled GD-library. <emphasis>Write</emphasis> support is available since PHP 4.3.9 and PHP 5.0.1. </entry> @@ -74,7 +75,7 @@ <entry><literal>png</literal></entry> <entry><link xlink:href="&url.libpng;">&url.libpng;</link></entry> <entry> - Only supported in GD versions greater than gd-1.6. + Only supported in <acronym>GD</acronym> versions greater than gd-1.6. </entry> </row> <row> @@ -91,7 +92,7 @@ </para> <para> - You may wish to enhance GD to deal with different fonts. The following + You may wish to enhance <acronym>GD</acronym> to deal with different fonts. The following font libraries are supported: <table> <title>Supported font libraries</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/examples.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/image/examples.xml diff -u phpdoc/en/reference/image/examples.xml:1.6 phpdoc/en/reference/image/examples.xml:1.7 --- phpdoc/en/reference/image/examples.xml:1.6 Mon Feb 16 11:38:13 2009 +++ phpdoc/en/reference/image/examples.xml Sun May 3 13:17:08 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <chapter xml:id="image.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.examples; @@ -24,10 +24,10 @@ ]]> </programlisting> </example> - This example would be called from a page with a tag like: <img - src="button.php?text=text">. The above button.php script - then takes this "text" string and overlays it on top of a - base image which in this case is "images/button1.png" + This example would be called from a page with a tag like: <literal><img + src="button.php?text=text"></literal>. The above <filename>button.php</filename> script + then takes this <literal>"text"</literal> string and overlays it on top of a + base image which in this case is <literal>"images/button1.png"</literal> and outputs the resulting image. This is a very convenient way to avoid having to draw new button images every time you want to change the text of a button. With this method they are http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/book.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/image/book.xml diff -u phpdoc/en/reference/image/book.xml:1.4 phpdoc/en/reference/image/book.xml:1.5 --- phpdoc/en/reference/image/book.xml:1.4 Tue Apr 21 00:16:16 2009 +++ phpdoc/en/reference/image/book.xml Sun May 3 13:17:08 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- Purpose: utilspec.image --> <!-- Membership: bundled --> @@ -13,11 +13,12 @@ <para> PHP is not limited to creating just HTML output. It can also be used to create and manipulate image files in a variety of different - image formats, including gif, png, jpg, wbmp, and xpm. Even more - convenient, PHP can output image streams directly to a browser. You - will need to compile PHP with the GD library of image functions for - this to work. GD and PHP may also require other libraries, depending - on which image formats you want to work with. + image formats, including <acronym>GIF</acronym>, <acronym>PNG</acronym>, + <acronym>JPEG</acronym>, <acronym>WBMP</acronym>, and <acronym>XPM</acronym>. + Even more convenient, PHP can output image streams directly to a browser. You + will need to compile PHP with the <acronym>GD</acronym> library of image + functions for this to work. <acronym>GD</acronym> and PHP may also require + other libraries, depending on which image formats you want to work with. </para> <para> You can use the image functions in PHP to get the size of