Document the IMAGETYPE_ICO constant and the icon support in getimagesize()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244162 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2007-10-13 19:22:54 +00:00
parent 378e92e549
commit 0f0443c5ac
3 changed files with 33 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.11 $ -->
<!-- $Revision: 1.12 $ -->
<section xml:id="image.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
@ -660,6 +660,20 @@
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>IMAGETYPE_ICO</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Image type constant used by the
<function>image_type_to_mime_type</function> and
<function>image_type_to_extension</function> functions.
(Available as of PHP 5.3.0)
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<constant>PNG_NO_FILTER</constant>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.35 $ -->
<!-- $Revision: 1.36 $ -->
<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.getimagesize">
<refnamediv>
<refname>getimagesize</refname>
@ -32,6 +32,12 @@
codestream it encounters in the root of the file.
</simpara>
</note>
<note>
<simpara>
The information about icons are retreived from the icon with the highest
bitrate.
</simpara>
</note>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
@ -147,6 +153,12 @@ if ($size && $fp) {
</row>
</thead>
<tbody>
<row>
<entry>5.3.0</entry>
<entry>
Added icon support.
</entry>
</row>
<row>
<entry>5.2.3</entry>
<entry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- $Revision: 1.9 $ -->
<refentry xml:id="function.image-type-to-mime-type" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>image_type_to_mime_type</refname>
@ -112,6 +112,10 @@
<entry><constant>IMAGETYPE_XBM</constant></entry>
<entry><literal>image/xbm</literal></entry>
</row>
<row>
<entry><constant>IMAGETYPE_ICO</constant></entry>
<entry><literal>image/vnd.microsoft.icon</literal></entry>
</row>
</tbody>
</tgroup>
</table>