Skip to content

Commit

Permalink
imagecreatefromstring() supports WebP as of PHP 7.3.0
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351755 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
cmb69 committed Nov 29, 2020
1 parent d16f943 commit ac84f2b
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion reference/image/functions/imagecreatefromstring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<function>imagecreatefromstring</function> returns an image identifier
representing the image obtained from the given <parameter>image</parameter>.
These types will be automatically detected if your build of PHP supports
them: JPEG, PNG, GIF, BMP, WBMP, and GD2.
them: JPEG, PNG, GIF, BMP, WBMP, GD2, and WEBP.
</para>
</refsect1>
<refsect1 role="parameters">
Expand All @@ -42,6 +42,28 @@
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>7.3.0</entry>
<entry>
WEBP is support now (if supported by the libgd in use).
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<para>
Expand Down

0 comments on commit ac84f2b

Please sign in to comment.