Fix some issues in exif directory

Part of #658
constants section is moved to returnvalues one.
This commit is contained in:
Yoshinari Takaoka 2021-06-13 13:04:39 +09:00
parent 5b4d6ddc1a
commit bfadfd1c4c
No known key found for this signature in database
GPG key ID: 66AFA0246DF21547

View file

@ -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>