mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
Fix some issues in exif directory
Part of #658 constants section is moved to returnvalues one.
This commit is contained in:
parent
5b4d6ddc1a
commit
bfadfd1c4c
1 changed files with 35 additions and 36 deletions
|
@ -46,42 +46,6 @@
|
|||
same value that <function>getimagesize</function> returns in index 2 but
|
||||
<function>exif_imagetype</function> is much faster.
|
||||
</para>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
<function>exif_imagetype</function> will emit an <constant>E_NOTICE</constant>
|
||||
and return &false; if it is unable to read enough bytes from the file to
|
||||
determine the image type.
|
||||
<!-- If the function finds an incomplete PNG header then it may emit an
|
||||
<constant>E_WARNING</constant> instead. - Is this worth including? -->
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>7.1.0</entry>
|
||||
<entry>
|
||||
Added WebP support.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="constants">
|
||||
&reftitle.constants;
|
||||
<para>
|
||||
The following constants are defined, and represent possible
|
||||
<function>exif_imagetype</function> return values:
|
||||
|
@ -173,7 +137,42 @@
|
|||
</tgroup>
|
||||
</table>
|
||||
</para>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
<function>exif_imagetype</function> will emit an <constant>E_NOTICE</constant>
|
||||
and return &false; if it is unable to read enough bytes from the file to
|
||||
determine the image type.
|
||||
<!-- If the function finds an incomplete PNG header then it may emit an
|
||||
<constant>E_WARNING</constant> instead. - Is this worth including? -->
|
||||
</para>
|
||||
</note>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>7.1.0</entry>
|
||||
<entry>
|
||||
Added WebP support.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue