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.