From 808c7e5f35eff9cf1ffd5f83b30340cea180c893 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Tue, 22 Jul 2003 19:06:01 +0000 Subject: [PATCH] Document XBM and WBMP support, as of PHP 4.3.2. (and fix some typos) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135649 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/functions/exif-imagetype.xml | 28 +++++++++++++++----- reference/image/functions/getimagesize.xml | 23 ++++++++++------ 2 files changed, 37 insertions(+), 14 deletions(-) diff --git a/reference/image/functions/exif-imagetype.xml b/reference/image/functions/exif-imagetype.xml index 2252459d33..57ce55789f 100644 --- a/reference/image/functions/exif-imagetype.xml +++ b/reference/image/functions/exif-imagetype.xml @@ -1,5 +1,5 @@ - + @@ -22,7 +22,7 @@ The following constants are defined: - Imagetyp Constants + Imagetype Constants @@ -67,7 +67,7 @@ 9 - MAGETYPE_JPC + IMAGETYPE_JPC 10 @@ -76,11 +76,27 @@ 11 IMAGETYPE_JPX - + 12 + IMAGETYPE_JB2 + + + 13 IMAGETYPE_SWC - + + + 14 + IMAGETYPE_IFF + + + 15 + IMAGETYPE_WBMP + + + 16 + IMAGETYPE_XBM +
@@ -93,7 +109,7 @@
- This function is only available if PHP 4 is compiled using + This function is only available if PHP is compiled using . diff --git a/reference/image/functions/getimagesize.xml b/reference/image/functions/getimagesize.xml index df5a819147..f62d8a290a 100644 --- a/reference/image/functions/getimagesize.xml +++ b/reference/image/functions/getimagesize.xml @@ -1,5 +1,5 @@ - + @@ -19,21 +19,28 @@ PNG, SWF, SWC, PSD, TIFF, BMP, - IFF, JP2 or - JPC - image file and return the dimensions along with the file type and - a height/width text string to be used inside a normal + IFF, JP2, + JPC, XBM, or + WBMP image file and return the dimensions along with + the file type and a height/width text string to be used inside a normal HTML IMG tag. + + + Support for JPC, JPC, + XBM, and WBMP became available in + PHP 4.3.2. + + Returns an array with 4 elements. Index 0 contains the width of the image in pixels. Index 1 contains the height. Index 2 is a flag indicating the type of the image: 1 = GIF, 2 = JPG, 3 = PNG, 4 = SWF, 5 = PSD, 6 = BMP, 7 = TIFF(intel byte order), 8 = TIFF(motorola byte order), 9 = JPC, 10 = JP2, 11 = JPX, 12 = - JB2, 13 = SWC, 14 = IFF. These values correspond to the IMAGETYPE - constants that were added in PHP 4.3. Index 3 is a text string with - the correct height="yyy" width="xxx" string that can be used + JB2, 13 = SWC, 14 = IFF, 15 = WBMP, 16 = XBM. These values correspond to + the IMAGETYPE constants that were added in PHP 4.3. Index 3 is a text + string with the correct height="yyy" width="xxx" string that can be used directly in an IMG tag. getimagesize (file)