cvs: phpdoc-zh /reference/exif/functions exif-imagetype.xml

From: Date: Mon, 08 Aug 2005 20:24:26 +0000
Subject: cvs: phpdoc-zh /reference/exif/functions exif-imagetype.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2121@lists.php.net to get a copy of this message
dallas Mon Aug 8 16:24:26 2005 EDT Modified files: /phpdoc-zh/reference/exif/functions exif-imagetype.xml Log: Updated. http://cvs.php.net/diff.php/phpdoc-zh/reference/exif/functions/exif-imagetype.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-zh/reference/exif/functions/exif-imagetype.xml diff -u phpdoc-zh/reference/exif/functions/exif-imagetype.xml:1.1 phpdoc-zh/reference/exif/functions/exif-imagetype.xml:1.2 --- phpdoc-zh/reference/exif/functions/exif-imagetype.xml:1.1 Thu Jul 7 06:18:39 2005 +++ phpdoc-zh/reference/exif/functions/exif-imagetype.xml Mon Aug 8 16:24:15 2005 @@ -1,25 +1,84 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> -<!-- $Author: yincheng $ --> -<!-- EN-Revision: 1.13 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready --> <refentry id="function.exif-imagetype"> <refnamediv> <refname>exif_imagetype</refname> <refpurpose>ÅжÏÒ»¸öͼÏñµÄÀàÐÍ</refpurpose> </refnamediv> - <refsect1> - <title>˵Ã÷</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>exif_imagetype</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> - <function>exif_imagetype</function> ¶Áȡһ¸öͼÏñµÄµÚÒ»¸ö×Ö½Ú²¢¼ì²éÆäÇ©Ãû¡£Èç¹û·¢ÏÖÁËÇ¡µ±µÄÇ©ÃûÔò·µ»ØÒ»¸ö³£Á¿£¬·ñÔò·µ»Ø + <function>exif_imagetype</function> ¶Áȡһ¸öͼÏñµÄµÚÒ»¸ö×Ö½Ú²¢¼ì²éÆäÇ©Ãû¡£ + </para> + <para> + ±¾º¯Êý¿ÉÓÃÀ´±ÜÃâµ÷ÓÃÆäËü <link linkend="ref.exif">exif</link> + º¯ÊýÓõ½Á˲»Ö§³ÖµÄÎļþÀàÐÍÉÏ»òºÍ + <varname>$_SERVER['HTTP_ACCEPT']</varname> + ½áºÏʹÓÃÀ´¼ì²éä¯ÀÀÆ÷ÊÇ·ñ¿ÉÒÔÏÔʾij¸öÖ¸¶¨µÄͼÏñ¡£ + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>filename</parameter></term> + <listitem> + <simpara> + ±»¼ì²éµÄͼÏñÎļþÃû¡£ + </simpara> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Èç¹û·¢ÏÖÁËÇ¡µ±µÄÇ©ÃûÔò·µ»ØÒ»¸ö¶ÔÓ¦µÄ³£Á¿£¬·ñÔò·µ»Ø &false;¡£·µ»ØÖµºÍ <function>getimagesize</function> ·µ»ØµÄÊý×éÖеÄË÷Òý 2 µÄÖµÊÇÒ»ÑùµÄ£¬µ«±¾º¯Êý¿ìµÃ¶à¡£ </para> + </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.3.2</entry> + <entry> + Ö§³Ö + <acronym>JPC</acronym>£¬<acronym>JP2</acronym>£¬<acronym>JPX</acronym>£¬<acronym>JB2</acronym>£¬<acronym>XBM</acronym> + ÒÔ¼° <acronym>WBMP</acronym> + </entry> + </row> + <row> + <entry>4.3.0</entry> + <entry>Ö§³Ö <acronym>SWC</acronym></entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="constants"> + &reftitle.constants; <para> - ¶¨ÒåÓÐÒÔϳ£Á¿£º + ¶¨ÒåÓÐÒÔϳ£Á¿£¬²¢´ú±íÁË <function>exif_imagetype</function> ¿ÉÄܵķµ»ØÖµ£º <table> <title>ͼÏñÀàÐͳ£Á¿</title> <tgroup cols="2"> @@ -56,12 +115,12 @@ </row> <row> <entry>7</entry> - <entry><constant>IMAGETYPE_TIFF_II</constant> (intel byte order)</entry> + <entry><constant>IMAGETYPE_TIFF_II</constant>£¨Intel ×Ö½Ú˳Ðò£©</entry> </row> <row> <entry>8</entry> <entry> - <constant>IMAGETYPE_TIFF_MM</constant> (motorola byte order) + <constant>IMAGETYPE_TIFF_MM</constant>£¨Motorola ×Ö½Ú˳Ðò£© </entry> </row> <row> @@ -100,33 +159,13 @@ </tgroup> </table> </para> - <note> - <para> - ¶Ô <acronym>JPC</acronym>£¬<acronym>JP2</acronym>£¬<acronym>JPX</acronym>£¬<acronym>JB2</acronym>£¬<acronym>XBM</acronym> - ºÍ <acronym>WBMP</acronym> µÄÖ§³Ö×Ô - PHP 4.3.2 Æð¿ÉÓá£¶Ô <acronym>SWC</acronym> µÄÖ§³Ö×Ô PHP 4.3.0 Æð¿ÉÓᣠ- </para> - </note> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; <para> - ±¾º¯Êý¿ÉÓÃÀ´±ÜÃâµ÷ÓÃÆäËü exif - º¯ÊýÓõ½Á˲»Ö§³ÖµÄÎļþÀàÐÍÉÏ»òºÍ - <varname>$_SERVER['HTTP_ACCEPT']</varname> - ½áºÏʹÓÃÀ´¼ì²éä¯ÀÀÆ÷ÊÇ·ñ¿ÉÒÔÏÔʾij¸öÖ¸¶¨µÄͼÏñ¡£ - </para> - <note> - <simpara> - ±¾º¯Êý½öÔÚ PHP ±àÒëʱʹÓÃÁË - <option role="configure">--enable-exif</option> Ñ¡Ïîʱ¿ÉÓᣠ- </simpara> - </note> - <note> - <simpara> - ±¾º¯Êý²»ÐèÒª GD ͼÏñ¿â¡£ - </simpara> - </note> - <example> - <title><function>exif_imagetype</function> Àý×Ó</title> - <programlisting role="php"> + <example> + <title><function>exif_imagetype</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php @@ -136,11 +175,17 @@ ?> ]]> - </programlisting> - </example> - <simpara> - ²Î¼û <function>getimagesize</function>¡£ - </simpara> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>getimagesize</function></member> + </simplelist> + </para> </refsect1> </refentry>

« previous php.doc.zh (#2121) next »