📄 exif.configuration.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Runtime Configuration</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="exif.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="exif.resources.html">Resource Types</a></div> <div class="up"><a href="exif.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="exif.configuration" class="section"> <h2 class="title">Runtime Configuration</h2> <p class="simpara">The behaviour of these functions is affected by settings in <var class="filename">php.ini</var>.</p> <p class="para"> Exif supports automatically conversion for Unicode and JIS character encodings of user comments when module <a href="ref.mbstring.html" class="link">mbstring</a> is available. This is done by first decoding the comment using the specified characterset. The result is then encoded with another characterset which should match your <i>HTTP</i> output. <table border="5"> <caption><b>Exif configuration options</b></caption> <colgroup> <thead valign="middle"> <tr valign="middle"> <th colspan="1">Name</th> <th colspan="1">Default</th> <th colspan="1">Changeable</th> <th colspan="1">Changelog</th> </tr> </thead> <tbody valign="middle" class="tbody"> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">exif.encode_unicode</td> <td colspan="1" rowspan="1" align="left">"ISO-8859-15"</td> <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td> <td colspan="1" rowspan="1" align="left">Available since PHP 4.3.0.</td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">exif.decode_unicode_motorola</td> <td colspan="1" rowspan="1" align="left">"UCS-2BE"</td> <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td> <td colspan="1" rowspan="1" align="left">Available since PHP 4.3.0.</td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">exif.decode_unicode_intel</td> <td colspan="1" rowspan="1" align="left">"UCS-2LE"</td> <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td> <td colspan="1" rowspan="1" align="left">Available since PHP 4.3.0.</td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">exif.encode_jis</td> <td colspan="1" rowspan="1" align="left">""</td> <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td> <td colspan="1" rowspan="1" align="left">Available since PHP 4.3.0.</td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">exif.decode_jis_motorola</td> <td colspan="1" rowspan="1" align="left">"JIS"</td> <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td> <td colspan="1" rowspan="1" align="left">Available since PHP 4.3.0.</td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">exif.decode_jis_intel</td> <td colspan="1" rowspan="1" align="left">"JIS"</td> <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td> <td colspan="1" rowspan="1" align="left">Available since PHP 4.3.0.</td> </tr> </tbody> </colgroup> </table> For further details and definitions of the PHP_INI_* constants, see the <a href="ini.html" class="xref">php.ini directives</a>. </p> <p class="para">Here's a short explanation ofthe configuration directives.</p> <p class="para"> <dl> <dt id="ini.exif.encode-unicode"> <span class="term"> <i><tt class="parameter">exif.encode_unicode</tt></i> <a href="language.types.string.html" class="type string">string</a> </span> <dd> <p class="para"> <i>exif.encode_unicode</i> defines the characterset UNICODE user comments are handled. This defaults to ISO-8859-15 which should work for most non Asian countries. The setting can be empty or must be an encoding supported by mbstring. If it is empty the current internal encoding of mbstring is used. </p> </dd> </dt> <dt id="ini.exif.decode-unicode-motorola"> <span class="term"> <i><tt class="parameter">exif.decode_unicode_motorola</tt></i> <a href="language.types.string.html" class="type string">string</a> </span> <dd> <p class="para"> <i>exif.decode_unicode_motorola</i> defines the image internal characterset for Unicode encoded user comments if image is in motorola byte order (big-endian). This setting cannot be empty but you can specify a list of encodings supported by mbstring. The default is UCS-2BE. </p> </dd> </dt> <dt id="ini.exif.decode-unicode-intel"> <span class="term"> <i><tt class="parameter">exif.decode_unicode_intel</tt></i> <a href="language.types.string.html" class="type string">string</a> </span> <dd> <p class="para"> <i>exif.decode_unicode_intel</i> defines the image internal characterset for Unicode encoded user comments if image is in intel byte order (little-endian). This setting cannot be empty but you can specify a list of encodings supported by mbstring. The default is UCS-2LE. </p> </dd> </dt> <dt id="ini.exif.encode-jis"> <span class="term"> <i><tt class="parameter">exif.encode_jis</tt></i> <a href="language.types.string.html" class="type string">string</a> </span> <dd> <p class="para"> <i>exif.encode_jis</i> defines the characterset JIS user comments are handled. This defaults to an empty value which forces the functions to use the current internal encoding of mbstring. </p> </dd> </dt> <dt id="ini.exif.decode-jis-motorola"> <span class="term"> <i><tt class="parameter">exif.decode_jis_motorola</tt></i> <a href="language.types.string.html" class="type string">string</a> </span> <dd> <p class="para"> <i>exif.decode_jis_motorola</i> defines the image internal characterset for JIS encoded user comments if image is in motorola byte order (big-endian). This setting cannot be empty but you can specify a list of encodings supported by mbstring. The default is JIS. </p> </dd> </dt> <dt id="ini.exif.decode-jis-intel"> <span class="term"> <i><tt class="parameter">exif.decode_jis_intel</tt></i> <a href="language.types.string.html" class="type string">string</a> </span> <dd> <p class="para"> <i>exif.decode_jis_intel</i> defines the image internal characterset for JIS encoded user comments if image is in intel byte order (little-endian). This setting cannot be empty but you can specify a list of encodings supported by mbstring. The default is JIS. </p> </dd> </dt> </dl> </p></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="exif.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="exif.resources.html">Resource Types</a></div> <div class="up"><a href="exif.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -