svn: /phpdoc/en/trunk/reference/image/ book.xml
| From: | Kalle Sommer Nielsen | Date: | Fri, 22 Mar 2013 19:30:46 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/image/ book.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-11125@lists.php.net to get a copy of this message | ||
kalle Fri, 22 Mar 2013 19:30:46 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=329883
Log:
List all formats supported by GD on the introduction page, including relevant notes
Changed paths:
U phpdoc/en/trunk/reference/image/book.xml
Modified: phpdoc/en/trunk/reference/image/book.xml
===================================================================
--- phpdoc/en/trunk/reference/image/book.xml 2013-03-22 19:21:58 UTC (rev 329882)
+++ phpdoc/en/trunk/reference/image/book.xml 2013-03-22 19:30:46 UTC (rev 329883)
@@ -27,11 +27,11 @@
<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.
+ 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>
@@ -49,7 +49,66 @@
</simpara>
</note>
</para>
+
+ <para>
+ GD supports a varity of formats, below is a list of formats supported by GD and notes
+ to their availability including read/write support.
+ </para>
+ <para>
+ <table>
+ <title>Formats supported by GD</title>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Format</entry>
+ <entry>Read support</entry>
+ <entry>Write support</entry>
+ <entry>Notes</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>JPEG</entry>
+ <entry>&true;</entry>
+ <entry>&true;</entry>
+ <entry>GD 1.8+</entry>
+ </row>
+ <row>
+ <entry>PNG</entry>
+ <entry>&true;</entry>
+ <entry>&true;</entry>
+ <entry> </entry>
+ </row>
+ <row>
+ <entry>GIF</entry>
+ <entry>&true;</entry>
+ <entry>&true;</entry>
+ <entry>Not available between GD 1.6 and GD 2.0.28</entry>
+ </row>
+ <row>
+ <entry>XBM</entry>
+ <entry>&true;</entry>
+ <entry>&true;</entry>
+ <entry>Read support as of PHP 4.0.1 and write support as of PHP 5.0.0</entry>
+ </row>
+ <row>
+ <entry>XPM</entry>
+ <entry>&true;</entry>
+ <entry>&false;</entry>
+ <entry>Read support as of PHP 4.0.1, not available on Windows. Requires bundled
version of GD</entry>
+ </row>
+ <row>
+ <entry>WBMP</entry>
+ <entry>&true;</entry>
+ <entry>&true;</entry>
+ <entry>GD 1.8+</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </para>
</preface>
+
<!-- }}} -->
&reference.image.setup;