Added getimagesize 's return when failing.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47660 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Damien Seguy 2001-05-17 07:30:31 +00:00
parent 192a79eab1
commit 3500ffe14a

View file

@ -85,6 +85,11 @@
<literal>channel</literal> will be 3 for RGB pictures, and 4 for CMYK
pictures. <literal>bits</literal> is the number of bits for each color.
</para>
<para>
If accessing the <parameter>filename</parameter> image is impossible,
or if it isn't a valid picture, <function>getimagesize</function>
will return <literal>NULL</literal> and generate a warning.
</para>
<para>
The optional <parameter>imageinfo</parameter> parameter allows
you to extract some extended information from the image