RE: [PHP-DOC] cvs: phpdoc /en/reference/image/functions getimagesize.xml From: Erica Douglass (erica <email protected>)
Date: 09/06/02

But this is on the getimagesize() page. Isn't a link redundant? Should I
use <methodname> instead?

Erica

> -----Original Message-----
> From: Derick Rethans [mailto:d.rethans <email protected>]
> Sent: Thursday, September 05, 2002 11:59 PM
> To: phpdoc <email protected>
> Subject: [PHP-DOC] cvs: phpdoc /en/reference/image/functions
> getimagesize.xml
>
> derick Fri Sep 6 02:58:43 2002 EDT
>
> Modified files:
> /phpdoc/en/reference/image/functions getimagesize.xml
> Log:
> - getimagesize() -> <function>getimagesize</function>
> #- This will add a link to the corresponding page, and add the
needed ()
>
>
> Index: phpdoc/en/reference/image/functions/getimagesize.xml
> diff -u phpdoc/en/reference/image/functions/getimagesize.xml:1.9
> phpdoc/en/reference/image/functions/getimagesize.xml:1.10
> --- phpdoc/en/reference/image/functions/getimagesize.xml:1.9 Fri Sep
> 6 01:48:05 2002
> +++ phpdoc/en/reference/image/functions/getimagesize.xml Fri Sep
6
> 02:58:43 2002
> @@ -1,5 +1,5 @@
> <?xml version="1.0" encoding="iso-8859-1"?>
> -<!-- $Revision: 1.9 $ -->
> +<!-- $Revision: 1.10 $ -->
> <!-- splitted from ./en/functions/image.xml, last change in rev 1.36
-->
> <refentry id="function.getimagesize">
> <refnamediv>
> @@ -63,23 +63,24 @@
> pictures. <literal>bits</literal> is the number of bits for each
> color.
> </para>
> <para>
> - Beginning with PHP 4.3, <literal>bits</literal> and
> <literal>channels</literal>
> - are present for other image types, too. However, the presence of
> these values
> - can be a bit confusing. As an example, <acronym>GIF</acronym>
> - always uses 3 channels per pixel, but the number of bits per
pixel
> - cannot be calculated for an animated <acronym>GIF</acronym> with
a
> global
> - color table.
> - </para>
> - <para>
> - Some formats may contain no image or may contain multiple images.
In
> these cases,
> - getimagesize() might not be able to properly determine the image
> size. getimagesize() will
> - return zero for width and height in these cases.
> - </para>
> - <para>
> - Beginning with PHP 4.3, getimagesize() also returns an additional
> parameter,
> - <literal>MIME</literal>, that corresponds with the MIME type of
the
> image.
> - This information can be used to deliver images with correct HTTP
> - Content-type headers:
> + Beginning with PHP 4.3, <literal>bits</literal> and
> + <literal>channels</literal> are present for other image types,
too.
> + However, the presence of these values can be a bit confusing. As
an
> + example, <acronym>GIF</acronym> always uses 3 channels per pixel,
but
> the
> + number of bits per pixel cannot be calculated for an animated
> + <acronym>GIF</acronym> with a global color table.
> + </para>
> + <para>
> + Some formats may contain no image or may contain multiple images.
In
> these
> + cases, <function>getimagesize</function> might not be able to
> properly
> + determine the image size. <function>getimagesize</function> will
> return
> + zero for width and height in these cases.
> + </para>
> + <para>
> + Beginning with PHP 4.3, <function>getimagesize</function> also
> returns an
> + additional parameter, <literal>MIME</literal>, that corresponds
with
> the
> + MIME type of the image. This information can be used to deliver
> images
> + with correct HTTP Content-type headers:
> <example>
> <title>getimagesize() and MIME types</title>
> <programlisting role="php">
>
>
>
> --
> PHP Documentation Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php