cvs: phpdoc(REF_STRUCT_DEV) / manual.xml.in /en/reference/exif book.xml constants.xml reference.xml setup.xml /en/reference/image book.xml
constants.xml examples.xml reference.xml setup.xml /en/reference/imagick book.xml constants.xml examples.xml install.xml reference.xml setup.xml
| From: | Hannes Magnusson | Date: | Sat, 08 Dec 2007 18:20:50 +0000 |
| Subject: | cvs: phpdoc(REF_STRUCT_DEV) / manual.xml.in /en/reference/exif book.xml constants.xml reference.xml setup.xml /en/reference/image book.xml constants.xml examples.xml reference.xml setup.xml /en/reference/imagick book.xml constants.xml examples.xml install.xml reference.xml setup.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-562@lists.php.net to get a copy of this message | ||
bjori Sat Dec 8 18:20:50 2007 UTC
Added files: (Branch: REF_STRUCT_DEV)
/phpdoc/en/reference/imagick book.xml examples.xml setup.xml
/phpdoc/en/reference/image book.xml examples.xml setup.xml
/phpdoc/en/reference/exif book.xml setup.xml
Removed files:
/phpdoc/en/reference/imagick install.xml reference.xml
Modified files:
/phpdoc manual.xml.in
/phpdoc/en/reference/imagick constants.xml
/phpdoc/en/reference/image constants.xml reference.xml
/phpdoc/en/reference/exif constants.xml reference.xml
Log:
Upgrade refs.utilspec.image to the new-ref-struct
http://cvs.php.net/viewvc.cgi/phpdoc/manual.xml.in?r1=1.224.2.33&r2=1.224.2.34&diff_format=u Index: phpdoc/manual.xml.in diff -u phpdoc/manual.xml.in:1.224.2.33 phpdoc/manual.xml.in:1.224.2.34 --- phpdoc/manual.xml.in:1.224.2.33 Sat Dec 8 18:01:41 2007 +++ phpdoc/manual.xml.in Sat Dec 8 18:20:49 2007 @@ -2,7 +2,7 @@ <!DOCTYPE set PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN" "@srcdir@/docbook/docbook-xml/docbook.dtd" [ -<!-- $Revision: 1.224.2.33 $ --> <!-- Last updated to comply to manual.xml.in 1.189 --> +<!-- $Revision: 1.224.2.34 $ --> <!-- Last updated to comply to manual.xml.in 1.189 --> <!-- We use xhtml entities all over the place --> <!ENTITY % xhtml-lat1 SYSTEM "@srcdir@/entities/ISO/xhtml1-lat1.ent"> <!ENTITY % xhtml-symbol SYSTEM "@srcdir@/entities/ISO/xhtml1-symbol.ent"> @@ -379,12 +379,12 @@ &reference.swish.book; </set> - <book xml:id="refs.utilspec.image"> + <set xml:id="refs.utilspec.image"> <title>Image Processing and Generation</title> - &reference.exif.reference; - &reference.image.reference; - &reference.imagick.reference; - </book> + &reference.exif.book; + &reference.image.book; + &reference.imagick.book; + </set> <set xml:id="refs.utilspec.audio"> <title>Audio Formats Manipulation</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/constants.xml?r1=1.11.2.3&r2=1.11.2.4&diff_format=u Index: phpdoc/en/reference/imagick/constants.xml diff -u phpdoc/en/reference/imagick/constants.xml:1.11.2.3 phpdoc/en/reference/imagick/constants.xml:1.11.2.4 --- phpdoc/en/reference/imagick/constants.xml:1.11.2.3 Mon Nov 12 15:54:41 2007 +++ phpdoc/en/reference/imagick/constants.xml Sat Dec 8 18:20:49 2007 @@ -1,13 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.11.2.3 $ --> -<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.constants"> - <refnamediv> - <refname>Constants</refname> - <refpurpose>Imagick class constants</refpurpose> - </refnamediv> - <refsect1> - &reftitle.constants; - &extension.constants; +<!-- $Revision: 1.11.2.4 $ --> +<appendix xmlns="http://docbook.org/ns/docbook" xml:id="imagick.constants"> + &reftitle.constants; + &extension.constants; <variablelist xml:id="imagick.constants.colortype"> <title>Colortype constants</title> <varlistentry> @@ -3252,8 +3247,7 @@ </listitem> </varlistentry> </variablelist> - </refsect1> -</refentry> +</appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/constants.xml?r1=1.9.2.1&r2=1.9.2.2&diff_format=u Index: phpdoc/en/reference/image/constants.xml diff -u phpdoc/en/reference/image/constants.xml:1.9.2.1 phpdoc/en/reference/image/constants.xml:1.9.2.2 --- phpdoc/en/reference/image/constants.xml:1.9.2.1 Sat Oct 13 19:48:11 2007 +++ phpdoc/en/reference/image/constants.xml Sat Dec 8 18:20:49 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9.2.1 $ --> -<section xml:id="image.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.9.2.2 $ --> +<appendix xml:id="image.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <variablelist> @@ -752,7 +752,7 @@ </listitem> </varlistentry> </variablelist> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/reference.xml?r1=1.32.2.1&r2=1.32.2.2&diff_format=u Index: phpdoc/en/reference/image/reference.xml diff -u phpdoc/en/reference/image/reference.xml:1.32.2.1 phpdoc/en/reference/image/reference.xml:1.32.2.2 --- phpdoc/en/reference/image/reference.xml:1.32.2.1 Wed Oct 3 11:41:11 2007 +++ phpdoc/en/reference/image/reference.xml Sat Dec 8 18:20:49 2007 @@ -1,223 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.32.2.1 $ --> -<!-- Purpose: utilspec.image --> -<!-- Membership: bundled --> +<!-- $Revision: 1.32.2.2 $ --> <reference xml:id="ref.image" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>Image Functions</title> - <titleabbrev>Image</titleabbrev> + <title>Image &Functions;</title> - <partintro> - <section xml:id="image.intro"> - &reftitle.intro; - <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. - </para> - <para> - You can use the image functions in PHP to get the size of - <acronym>JPEG</acronym>, <acronym>GIF</acronym>, - <acronym>PNG</acronym>, <acronym>SWF</acronym>, - <acronym>TIFF</acronym> and <acronym>JPEG2000</acronym> images. - </para> - <para> - With the <link linkend="ref.exif">exif extension</link>, you are able - to work with information stored in headers of - <acronym>JPEG</acronym> and <acronym>TIFF</acronym> images. This way you can - read meta data generated by digital cameras. The exif - functions do not require the <acronym>GD</acronym> library. - </para> - - <para> - <note> - <simpara> - Read the requirements section about how to expand image capabilities - to read, write and modify images. To read meta data of pictures - taken by digital cameras you need the above mentioned - <link linkend="ref.exif">exif extension</link>. - </simpara> - </note> - </para> - </section> + &reference.image.functions.entities; - <section xml:id="image.requirements"> - &reftitle.required; - <para> - If you have the <acronym>GD</acronym> library (available at <link - xlink:href="&url.gd;">&url.gd;</link>) you will also be able to create - and manipulate images. - </para> - <para> - The format of images you are able to manipulate depend on the - 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 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 its codebase is better maintained and more stable. - </simpara> - </note> - </para> - <note> - <para> - Support for GD 1.x has been removed as of PHP 6.0.0, which requires GD - 2.0.33 or later. - </para> - </note> - <para> - You may wish to enhance GD to handle more image formats. - <table> - <title>Supported image formats</title> - <tgroup cols="3"> - <thead> - <row> - <entry>Image format</entry> - <entry>Library to download</entry> - <entry>Notes</entry> - </row> - </thead> - <tbody> - <row> - <entry><literal>gif</literal></entry> - <entry></entry> - <entry> - Only supported in GD 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 - GD-library. <emphasis>Write</emphasis> support is available since - PHP 4.3.9 and PHP 5.0.1. - </entry> - </row> - <row> - <entry><literal>jpeg-6b</literal></entry> - <entry><link xlink:href="&url.jpeg;">&url.jpeg;</link></entry> - <entry> - When buliding the jpeg-v6b library (prior to building PHP) you - must use the <option role="configure">--enable-shared</option> - option in the configure step. If you do not, you will receive - an error saying <literal>libjpeg.(a|so) not found</literal> - when you get to the configure step of building PHP. - </entry> - </row> - <row> - <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. - </entry> - </row> - <row> - <entry><literal>xpm</literal></entry> - <entry><link xlink:href="&url.libxpm;">&url.libxpm;</link></entry> - <entry> - It's likely you have this library already available, if your system - has an installed X-Environment. - </entry> - </row> - </tbody> - </tgroup> - </table> - </para> - - <para> - You may wish to enhance GD to deal with different fonts. The following - font libraries are supported: - <table> - <title>Supported font libraries</title> - <tgroup cols="3"> - <thead> - <row> - <entry>Font library</entry> - <entry>Download</entry> - <entry>Notes</entry> - </row> - </thead> - <tbody> - <row> - <entry><literal>FreeType 1.x</literal></entry> - <entry><link xlink:href="&url.freetype;">&url.freetype;</link></entry> - <entry>Support removed as of PHP 6.0.0</entry> - </row> - <row> - <entry><literal>FreeType 2</literal></entry> - <entry><link xlink:href="&url.freetype;">&url.freetype;</link></entry> - <entry></entry> - </row> - <row> - <entry><literal>T1lib</literal></entry> - <entry><link xlink:href="&url.t1lib;">&url.t1lib;</link>)</entry> - <entry> - Support for Postscript Type 1 fonts. - </entry> - </row> - </tbody> - </tgroup> - </table> - </para> - </section> - - &reference.image.configure; - - &reference.image.ini; - - <section xml:id="image.resources"> - &reftitle.resources; - <para> - This extension defines two resource types: an image identifier and a font - identifier. - </para> - </section> - - &reference.image.constants; - - <section xml:id="image.examples"> - &reftitle.examples; - <para> - <example> - <title>PNG creation with PHP</title> - <programlisting role="php"> -<![CDATA[ -<?php - -header("Content-type: image/png"); -$string = $_GET['text']; -$im = imagecreatefrompng("images/button1.png"); -$orange = imagecolorallocate($im, 220, 210, 60); -$px = (imagesx($im) - 7.5 * strlen($string)) / 2; -imagestring($im, 3, $px, 9, $string, $orange); -imagepng($im); -imagedestroy($im); - -?> -]]> - </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" - 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 - dynamically generated. - </para> - </section> - </partintro> - -&reference.image.functions.entities; - - </reference> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/exif/constants.xml?r1=1.2&r2=1.2.2.1&diff_format=u Index: phpdoc/en/reference/exif/constants.xml diff -u phpdoc/en/reference/exif/constants.xml:1.2 phpdoc/en/reference/exif/constants.xml:1.2.2.1 --- phpdoc/en/reference/exif/constants.xml:1.2 Wed Jun 20 22:24:26 2007 +++ phpdoc/en/reference/exif/constants.xml Sat Dec 8 18:20:50 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<section xml:id="exif.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.2.2.1 $ --> +<appendix xml:id="exif.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <para> @@ -22,7 +22,7 @@ The <function>exif_imagetype</function> lists several related built-in constants. </para> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/exif/reference.xml?r1=1.4.2.1&r2=1.4.2.2&diff_format=u Index: phpdoc/en/reference/exif/reference.xml diff -u phpdoc/en/reference/exif/reference.xml:1.4.2.1 phpdoc/en/reference/exif/reference.xml:1.4.2.2 --- phpdoc/en/reference/exif/reference.xml:1.4.2.1 Wed Oct 3 11:41:09 2007 +++ phpdoc/en/reference/exif/reference.xml Sat Dec 8 18:20:50 2007 @@ -1,49 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4.2.1 $ --> -<!-- Purpose: utilspec.image --> -<!-- Membership: bundled --> +<!-- $Revision: 1.4.2.2 $ --> <reference xml:id="ref.exif" xmlns="http://docbook.org/ns/docbook"> - <title>Exif Functions</title> - <titleabbrev>Exif</titleabbrev> - - <partintro> - <section xml:id="exif.intro"> - &reftitle.intro; - <para> - With the exif extension you are able to work with image meta data. For - example, you may use exif functions to read meta data of pictures taken - from digital cameras by working with information stored in the headers of - the <acronym>JPEG</acronym> and <acronym>TIFF</acronym> images. - </para> - </section> - - <section xml:id="exif.requirements"> - &reftitle.required; - <para> - Your PHP must be compiled in with <literal>--enable-exif</literal>. - PHP does not require any additional library for the exif module. Windows - users must also have the <link linkend="ref.mbstring"> mbstring</link> - extension enabled. - </para> - </section> - - &reference.exif.configure; - - &reference.exif.ini; - - <section xml:id="exif.resources"> - &reftitle.resources; - &no.resource; - </section> - - &reference.exif.constants; - - </partintro> + <title>Exif &Functions;</title> &reference.exif.functions.entities; - </reference> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/book.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/imagick/book.xml +++ phpdoc/en/reference/imagick/book.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/examples.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/imagick/examples.xml +++ phpdoc/en/reference/imagick/examples.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/setup.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/imagick/setup.xml +++ phpdoc/en/reference/imagick/setup.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/book.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/image/book.xml +++ phpdoc/en/reference/image/book.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/examples.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/image/examples.xml +++ phpdoc/en/reference/image/examples.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/setup.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/image/setup.xml +++ phpdoc/en/reference/image/setup.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/exif/book.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/exif/book.xml +++ phpdoc/en/reference/exif/book.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/exif/setup.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/exif/setup.xml +++ phpdoc/en/reference/exif/setup.xml
http://cvs.php.net/viewvc.cgi/phpdoc/manual.xml.in?r1=1.224.2.33&r2=1.224.2.34&diff_format=u Index: phpdoc/manual.xml.in diff -u phpdoc/manual.xml.in:1.224.2.33 phpdoc/manual.xml.in:1.224.2.34 --- phpdoc/manual.xml.in:1.224.2.33 Sat Dec 8 18:01:41 2007 +++ phpdoc/manual.xml.in Sat Dec 8 18:20:49 2007 @@ -2,7 +2,7 @@ <!DOCTYPE set PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN" "@srcdir@/docbook/docbook-xml/docbook.dtd" [ -<!-- $Revision: 1.224.2.33 $ --> <!-- Last updated to comply to manual.xml.in 1.189 --> +<!-- $Revision: 1.224.2.34 $ --> <!-- Last updated to comply to manual.xml.in 1.189 --> <!-- We use xhtml entities all over the place --> <!ENTITY % xhtml-lat1 SYSTEM "@srcdir@/entities/ISO/xhtml1-lat1.ent"> <!ENTITY % xhtml-symbol SYSTEM "@srcdir@/entities/ISO/xhtml1-symbol.ent"> @@ -379,12 +379,12 @@ &reference.swish.book; </set> - <book xml:id="refs.utilspec.image"> + <set xml:id="refs.utilspec.image"> <title>Image Processing and Generation</title> - &reference.exif.reference; - &reference.image.reference; - &reference.imagick.reference; - </book> + &reference.exif.book; + &reference.image.book; + &reference.imagick.book; + </set> <set xml:id="refs.utilspec.audio"> <title>Audio Formats Manipulation</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/constants.xml?r1=1.11.2.3&r2=1.11.2.4&diff_format=u Index: phpdoc/en/reference/imagick/constants.xml diff -u phpdoc/en/reference/imagick/constants.xml:1.11.2.3 phpdoc/en/reference/imagick/constants.xml:1.11.2.4 --- phpdoc/en/reference/imagick/constants.xml:1.11.2.3 Mon Nov 12 15:54:41 2007 +++ phpdoc/en/reference/imagick/constants.xml Sat Dec 8 18:20:49 2007 @@ -1,13 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.11.2.3 $ --> -<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.constants"> - <refnamediv> - <refname>Constants</refname> - <refpurpose>Imagick class constants</refpurpose> - </refnamediv> - <refsect1> - &reftitle.constants; - &extension.constants; +<!-- $Revision: 1.11.2.4 $ --> +<appendix xmlns="http://docbook.org/ns/docbook" xml:id="imagick.constants"> + &reftitle.constants; + &extension.constants; <variablelist xml:id="imagick.constants.colortype"> <title>Colortype constants</title> <varlistentry> @@ -3252,8 +3247,7 @@ </listitem> </varlistentry> </variablelist> - </refsect1> -</refentry> +</appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/constants.xml?r1=1.9.2.1&r2=1.9.2.2&diff_format=u Index: phpdoc/en/reference/image/constants.xml diff -u phpdoc/en/reference/image/constants.xml:1.9.2.1 phpdoc/en/reference/image/constants.xml:1.9.2.2 --- phpdoc/en/reference/image/constants.xml:1.9.2.1 Sat Oct 13 19:48:11 2007 +++ phpdoc/en/reference/image/constants.xml Sat Dec 8 18:20:49 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9.2.1 $ --> -<section xml:id="image.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.9.2.2 $ --> +<appendix xml:id="image.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <variablelist> @@ -752,7 +752,7 @@ </listitem> </varlistentry> </variablelist> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/reference.xml?r1=1.32.2.1&r2=1.32.2.2&diff_format=u Index: phpdoc/en/reference/image/reference.xml diff -u phpdoc/en/reference/image/reference.xml:1.32.2.1 phpdoc/en/reference/image/reference.xml:1.32.2.2 --- phpdoc/en/reference/image/reference.xml:1.32.2.1 Wed Oct 3 11:41:11 2007 +++ phpdoc/en/reference/image/reference.xml Sat Dec 8 18:20:49 2007 @@ -1,223 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.32.2.1 $ --> -<!-- Purpose: utilspec.image --> -<!-- Membership: bundled --> +<!-- $Revision: 1.32.2.2 $ --> <reference xml:id="ref.image" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>Image Functions</title> - <titleabbrev>Image</titleabbrev> + <title>Image &Functions;</title> - <partintro> - <section xml:id="image.intro"> - &reftitle.intro; - <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. - </para> - <para> - You can use the image functions in PHP to get the size of - <acronym>JPEG</acronym>, <acronym>GIF</acronym>, - <acronym>PNG</acronym>, <acronym>SWF</acronym>, - <acronym>TIFF</acronym> and <acronym>JPEG2000</acronym> images. - </para> - <para> - With the <link linkend="ref.exif">exif extension</link>, you are able - to work with information stored in headers of - <acronym>JPEG</acronym> and <acronym>TIFF</acronym> images. This way you can - read meta data generated by digital cameras. The exif - functions do not require the <acronym>GD</acronym> library. - </para> - - <para> - <note> - <simpara> - Read the requirements section about how to expand image capabilities - to read, write and modify images. To read meta data of pictures - taken by digital cameras you need the above mentioned - <link linkend="ref.exif">exif extension</link>. - </simpara> - </note> - </para> - </section> + &reference.image.functions.entities; - <section xml:id="image.requirements"> - &reftitle.required; - <para> - If you have the <acronym>GD</acronym> library (available at <link - xlink:href="&url.gd;">&url.gd;</link>) you will also be able to create - and manipulate images. - </para> - <para> - The format of images you are able to manipulate depend on the - 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 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 its codebase is better maintained and more stable. - </simpara> - </note> - </para> - <note> - <para> - Support for GD 1.x has been removed as of PHP 6.0.0, which requires GD - 2.0.33 or later. - </para> - </note> - <para> - You may wish to enhance GD to handle more image formats. - <table> - <title>Supported image formats</title> - <tgroup cols="3"> - <thead> - <row> - <entry>Image format</entry> - <entry>Library to download</entry> - <entry>Notes</entry> - </row> - </thead> - <tbody> - <row> - <entry><literal>gif</literal></entry> - <entry></entry> - <entry> - Only supported in GD 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 - GD-library. <emphasis>Write</emphasis> support is available since - PHP 4.3.9 and PHP 5.0.1. - </entry> - </row> - <row> - <entry><literal>jpeg-6b</literal></entry> - <entry><link xlink:href="&url.jpeg;">&url.jpeg;</link></entry> - <entry> - When buliding the jpeg-v6b library (prior to building PHP) you - must use the <option role="configure">--enable-shared</option> - option in the configure step. If you do not, you will receive - an error saying <literal>libjpeg.(a|so) not found</literal> - when you get to the configure step of building PHP. - </entry> - </row> - <row> - <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. - </entry> - </row> - <row> - <entry><literal>xpm</literal></entry> - <entry><link xlink:href="&url.libxpm;">&url.libxpm;</link></entry> - <entry> - It's likely you have this library already available, if your system - has an installed X-Environment. - </entry> - </row> - </tbody> - </tgroup> - </table> - </para> - - <para> - You may wish to enhance GD to deal with different fonts. The following - font libraries are supported: - <table> - <title>Supported font libraries</title> - <tgroup cols="3"> - <thead> - <row> - <entry>Font library</entry> - <entry>Download</entry> - <entry>Notes</entry> - </row> - </thead> - <tbody> - <row> - <entry><literal>FreeType 1.x</literal></entry> - <entry><link xlink:href="&url.freetype;">&url.freetype;</link></entry> - <entry>Support removed as of PHP 6.0.0</entry> - </row> - <row> - <entry><literal>FreeType 2</literal></entry> - <entry><link xlink:href="&url.freetype;">&url.freetype;</link></entry> - <entry></entry> - </row> - <row> - <entry><literal>T1lib</literal></entry> - <entry><link xlink:href="&url.t1lib;">&url.t1lib;</link>)</entry> - <entry> - Support for Postscript Type 1 fonts. - </entry> - </row> - </tbody> - </tgroup> - </table> - </para> - </section> - - &reference.image.configure; - - &reference.image.ini; - - <section xml:id="image.resources"> - &reftitle.resources; - <para> - This extension defines two resource types: an image identifier and a font - identifier. - </para> - </section> - - &reference.image.constants; - - <section xml:id="image.examples"> - &reftitle.examples; - <para> - <example> - <title>PNG creation with PHP</title> - <programlisting role="php"> -<![CDATA[ -<?php - -header("Content-type: image/png"); -$string = $_GET['text']; -$im = imagecreatefrompng("images/button1.png"); -$orange = imagecolorallocate($im, 220, 210, 60); -$px = (imagesx($im) - 7.5 * strlen($string)) / 2; -imagestring($im, 3, $px, 9, $string, $orange); -imagepng($im); -imagedestroy($im); - -?> -]]> - </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" - 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 - dynamically generated. - </para> - </section> - </partintro> - -&reference.image.functions.entities; - - </reference> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/exif/constants.xml?r1=1.2&r2=1.2.2.1&diff_format=u Index: phpdoc/en/reference/exif/constants.xml diff -u phpdoc/en/reference/exif/constants.xml:1.2 phpdoc/en/reference/exif/constants.xml:1.2.2.1 --- phpdoc/en/reference/exif/constants.xml:1.2 Wed Jun 20 22:24:26 2007 +++ phpdoc/en/reference/exif/constants.xml Sat Dec 8 18:20:50 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<section xml:id="exif.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.2.2.1 $ --> +<appendix xml:id="exif.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <para> @@ -22,7 +22,7 @@ The <function>exif_imagetype</function> lists several related built-in constants. </para> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/exif/reference.xml?r1=1.4.2.1&r2=1.4.2.2&diff_format=u Index: phpdoc/en/reference/exif/reference.xml diff -u phpdoc/en/reference/exif/reference.xml:1.4.2.1 phpdoc/en/reference/exif/reference.xml:1.4.2.2 --- phpdoc/en/reference/exif/reference.xml:1.4.2.1 Wed Oct 3 11:41:09 2007 +++ phpdoc/en/reference/exif/reference.xml Sat Dec 8 18:20:50 2007 @@ -1,49 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4.2.1 $ --> -<!-- Purpose: utilspec.image --> -<!-- Membership: bundled --> +<!-- $Revision: 1.4.2.2 $ --> <reference xml:id="ref.exif" xmlns="http://docbook.org/ns/docbook"> - <title>Exif Functions</title> - <titleabbrev>Exif</titleabbrev> - - <partintro> - <section xml:id="exif.intro"> - &reftitle.intro; - <para> - With the exif extension you are able to work with image meta data. For - example, you may use exif functions to read meta data of pictures taken - from digital cameras by working with information stored in the headers of - the <acronym>JPEG</acronym> and <acronym>TIFF</acronym> images. - </para> - </section> - - <section xml:id="exif.requirements"> - &reftitle.required; - <para> - Your PHP must be compiled in with <literal>--enable-exif</literal>. - PHP does not require any additional library for the exif module. Windows - users must also have the <link linkend="ref.mbstring"> mbstring</link> - extension enabled. - </para> - </section> - - &reference.exif.configure; - - &reference.exif.ini; - - <section xml:id="exif.resources"> - &reftitle.resources; - &no.resource; - </section> - - &reference.exif.constants; - - </partintro> + <title>Exif &Functions;</title> &reference.exif.functions.entities; - </reference> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/book.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/imagick/book.xml +++ phpdoc/en/reference/imagick/book.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/examples.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/imagick/examples.xml +++ phpdoc/en/reference/imagick/examples.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/setup.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/imagick/setup.xml +++ phpdoc/en/reference/imagick/setup.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/book.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/image/book.xml +++ phpdoc/en/reference/image/book.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/examples.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/image/examples.xml +++ phpdoc/en/reference/image/examples.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/setup.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/image/setup.xml +++ phpdoc/en/reference/image/setup.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/exif/book.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/exif/book.xml +++ phpdoc/en/reference/exif/book.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/exif/setup.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/exif/setup.xml +++ phpdoc/en/reference/exif/setup.xml