Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions appendices/migration85/constants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@
<title>Standard</title>

<simplelist>
<member>
<constant>IMAGETYPE_HEIF</constant>
</member>
<member>
<constant>IMAGETYPE_SVG</constant>
when libxml is loaded.
Expand Down
10 changes: 10 additions & 0 deletions reference/exif/functions/exif-imagetype.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@
<entry>19</entry>
<entry><constant>IMAGETYPE_AVIF</constant></entry>
</row>
<row>
<entry>20</entry>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed to be 20.

<entry><constant>IMAGETYPE_HEIF</constant></entry>
</row>
</tbody>
</tgroup>
</table>
Expand Down Expand Up @@ -174,6 +178,12 @@
Added AVIF support.
</entry>
</row>
<row>
<entry>8.5.0</entry>
<entry>
Added HEIF support.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
Expand Down
12 changes: 12 additions & 0 deletions reference/image/constants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,18 @@
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.imagetype-heif">
<term>
<constant>IMAGETYPE_HEIF</constant>
(<type>int</type>)
</term>
<listitem>
&gd.constants.type;
<simpara>
(Available as of PHP 8.5.0)
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.imagetype-unknown">
<term>
<constant>IMAGETYPE_UNKNOWN</constant>
Expand Down
4 changes: 4 additions & 0 deletions reference/image/functions/image-type-to-mime-type.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@
<entry><constant>IMAGETYPE_AVIF</constant></entry>
<entry><literal>image/avif</literal></entry>
</row>
<row>
<entry><constant>IMAGETYPE_HEIF</constant></entry>
<entry><literal>image/heif</literal></entry>
</row>
</tbody>
</tgroup>
</table>
Expand Down