git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129779 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Marcus Boerger 2003-06-01 20:50:49 +00:00
parent a17e7c9989
commit 0ce0789d2b

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.12 $ -->
<!-- $Revision: 1.13 $ -->
<!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
<refentry id="function.getimagesize">
<refnamediv>
@ -18,8 +18,9 @@
size of any <acronym>GIF</acronym>, <acronym>JPG</acronym>,
<acronym>PNG</acronym>, <acronym>SWF</acronym>,
<acronym>SWC</acronym>, <acronym>PSD</acronym>,
<acronym>TIFF</acronym>, <acronym>BMP</acronym> or
<acronym>IFF</acronym>
<acronym>TIFF</acronym>, <acronym>BMP</acronym>,
<acronym>IFF</acronym>, <acronym>JP2</acronym> or
<acronym>JPC</acronym>
image file and return the dimensions along with the file type and
a height/width text string to be used inside a normal
<acronym>HTML</acronym> <literal>IMG</literal> tag.
@ -130,6 +131,16 @@ if (isset ($info["APP13"])) {
]]>
</programlisting>
</example>
<note>
<simpara>
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.
</simpara>
</note>
<note>
<simpara>
TIFF support was added in PHP 4.2.