From 0ce0789d2b5b60acd33b7afe368f49b67c78cf0f Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 1 Jun 2003 20:50:49 +0000 Subject: [PATCH] Update git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129779 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/functions/getimagesize.xml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/reference/image/functions/getimagesize.xml b/reference/image/functions/getimagesize.xml index 048f04419e..11ccf67eab 100644 --- a/reference/image/functions/getimagesize.xml +++ b/reference/image/functions/getimagesize.xml @@ -1,5 +1,5 @@ - + @@ -18,8 +18,9 @@ size of any GIF, JPG, PNG, SWF, SWC, PSD, - TIFF, BMP or - IFF + 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 HTML IMG tag. @@ -130,6 +131,16 @@ if (isset ($info["APP13"])) { ]]> + + + JPEG 2000 support was added in PHP 4.3. Note that JPC and JP2 are + capable of having components with differint bit depths. In this case, + the value for "bits" is the highest bit depth encountered. Also, JP2 + files can contain multiple JPEG 2000 codestreams. In this case, + getimagesize returns the values for the first codestream it encounters + in the root of the file. + + TIFF support was added in PHP 4.2.