List all formats supported by GD on the introduction page, including relevant notes

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329883 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kalle Sommer Nielsen 2013-03-22 19:30:46 +00:00
parent 98cb35bf0f
commit 35079122d0

View file

@ -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>&nbsp;</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;