From 0f0443c5ac3c9af28777935dc132ef2ab586ed28 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Sat, 13 Oct 2007 19:22:54 +0000 Subject: [PATCH] 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 --- reference/image/constants.xml | 16 +++++++++++++++- reference/image/functions/getimagesize.xml | 14 +++++++++++++- .../image/functions/image-type-to-mime-type.xml | 6 +++++- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/reference/image/constants.xml b/reference/image/constants.xml index cb35248e3b..bb4f5f2ac6 100644 --- a/reference/image/constants.xml +++ b/reference/image/constants.xml @@ -1,5 +1,5 @@ - +
&reftitle.constants; &extension.constants; @@ -660,6 +660,20 @@ + + + IMAGETYPE_ICO + (integer) + + + + Image type constant used by the + image_type_to_mime_type and + image_type_to_extension functions. + (Available as of PHP 5.3.0) + + + PNG_NO_FILTER diff --git a/reference/image/functions/getimagesize.xml b/reference/image/functions/getimagesize.xml index 62d9756ee2..d82ec29f2f 100644 --- a/reference/image/functions/getimagesize.xml +++ b/reference/image/functions/getimagesize.xml @@ -1,5 +1,5 @@ - + getimagesize @@ -32,6 +32,12 @@ codestream it encounters in the root of the file. + + + The information about icons are retreived from the icon with the highest + bitrate. + + &reftitle.parameters; @@ -147,6 +153,12 @@ if ($size && $fp) { + + 5.3.0 + + Added icon support. + + 5.2.3 diff --git a/reference/image/functions/image-type-to-mime-type.xml b/reference/image/functions/image-type-to-mime-type.xml index c97caa6388..2272cf9594 100644 --- a/reference/image/functions/image-type-to-mime-type.xml +++ b/reference/image/functions/image-type-to-mime-type.xml @@ -1,5 +1,5 @@ - + image_type_to_mime_type @@ -112,6 +112,10 @@ IMAGETYPE_XBM image/xbm + + IMAGETYPE_ICO + image/vnd.microsoft.icon +