added details for JPEG when using getimagesize

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45923 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Damien Seguy 2001-04-26 06:57:29 +00:00
parent 8108e15a33
commit effa1957ca

View file

@ -79,10 +79,16 @@
</programlisting>
</example>
</para>
<para>
With <acronym>JPEG</acronym> images, two extras index are returned :
<literal>channel</literal> and <literal>bits</literal>.
<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>
The optional <parameter>imageinfo</parameter> parameter allows
you to extract some extended information from the image
file. Currently this will return the diffrent
file. Currently this will return the different
<acronym>JPG</acronym> APP markers in an associative Array. Some
Programs use these APP markers to embedd text information in
images. A very common one in to embed <acronym>IPTC</acronym>