philip Tue May 27 15:17:51 2003 EDT
Modified files:
/phpdoc/en/reference/image/functions exif-thumbnail.xml
Log:
Minor format fixes.
Index: phpdoc/en/reference/image/functions/exif-thumbnail.xml
diff -u phpdoc/en/reference/image/functions/exif-thumbnail.xml:1.3
phpdoc/en/reference/image/functions/exif-thumbnail.xml:1.4
--- phpdoc/en/reference/image/functions/exif-thumbnail.xml:1.3 Fri Aug 16 12:43:45
2002
+++ phpdoc/en/reference/image/functions/exif-thumbnail.xml Tue May 27 15:17:51
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/image.xml, last change in rev 1.78 -->
<refentry id="function.exif-thumbnail">
<refnamediv>
@@ -21,24 +21,27 @@
will be returned.
</para>
<para>
- The parameters <parameter>width</parameter>, <parameter>height</parameter> and
- <parameter>imagetype</parameter> are available since PHP 4.3 and return the size
- of the thumbnail as well as its type. It is possible that
- <function>exif_thumbnail</function> cannot create an image but determine its
- size. In this case the return value is &false; but <parameter>width</parameter>
and
+ The parameters <parameter>width</parameter>,
+ <parameter>height</parameter> and <parameter>imagetype</parameter> are
+ available since PHP 4.3.0 and return the size of the thumbnail as well
+ as its type. It is possible that <function>exif_thumbnail</function>
+ cannot create an image but can determine its size. In this case, the
+ return value is &false; but <parameter>width</parameter> and
<parameter>height</parameter> are set.
</para>
<para>
- If you want to deliver thumbnails through this function you should send the
- mimetype information using <function>header</function> function. The following
- example demonstrates this:
- <example>
- <title><function>exif_thumbnail</function> example</title>
- <programlisting role="php">
+ If you want to deliver thumbnails through this function, you should send
+ the mimetype information using the <function>header</function> function.
+ The following example demonstrates this:
+ </para>
+ <para>
+ <example>
+ <title><function>exif_thumbnail</function> example</title>
+ <programlisting role="php">
<![CDATA[
<?php
if (array_key_exists('file',$_REQUEST)) {
- $image = exif_thumbnail($_REQUEST['file'], $width, $height, $type);
+ $image = exif_thumbnail($_REQUEST['file'], $width, $height, $type);
} else {
$image = false;
}
@@ -52,28 +55,30 @@
}
?>
]]>
- </programlisting>
- </example>
- </para>
- <para>
- Starting from version PHP 4.3 the function <function>exif_thumbnail</function> can
- return thumbnails in <acronym>TIFF</acronym> format.
+ </programlisting>
+ </example>
</para>
<para>
- <note>
- <simpara>
- This function is only available in PHP 4 compiled using
- <option role="configure">--enable-exif</option>.
- Its functionality and behaviour has changed in PHP 4.2
- </simpara>
- <simpara>
- This function does not require the GD image library.
- </simpara>
- <simpara>
- See also <function>exif_read_data</function> and
<function>image_type_to_mime_type</function>.
- </simpara>
- </note>
+ Starting from version PHP 4.3.0, the function
+ <function>exif_thumbnail</function> can return thumbnails in
+ <acronym>TIFF</acronym> format.
</para>
+ <note>
+ <simpara>
+ This function is only available in PHP 4 compiled using
+ <option role="configure">--enable-exif</option>.
+ Its functionality and behaviour has changed in PHP 4.2.0
+ </simpara>
+ </note>
+ <note>
+ <simpara>
+ This function does not require the GD image library.
+ </simpara>
+ </note>
+ <simpara>
+ See also <function>exif_read_data</function> and
+ <function>image_type_to_mime_type</function>.
+ </simpara>
</refsect1>
</refentry>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php