imagecreatefromstring() supports WebP as of PHP 7.3.0

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351755 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-11-29 23:43:47 +00:00
parent d16f9436ce
commit ac84f2b81c

View file

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