mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
[PHP 8.1] Add new global GD constants (#1545)
This commit is contained in:
parent
5fc91f8abb
commit
928f051323
2 changed files with 30 additions and 1 deletions
|
@ -77,6 +77,18 @@
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="constant.img-avif">
|
||||
<term>
|
||||
<constant>IMG_AVIF</constant>
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
&gd.constants.types;
|
||||
<simpara>
|
||||
Available as of PHP 8.1.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.img-bmp">
|
||||
<term>
|
||||
<constant>IMG_BMP</constant>
|
||||
|
@ -157,6 +169,17 @@
|
|||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.img-webp-lossless">
|
||||
<term>
|
||||
<constant>IMG_WEBP_LOSSLESS</constant>
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Available as of PHP 8.1.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.img-color-tiled">
|
||||
<term>
|
||||
<constant>IMG_COLOR_TILED</constant>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<para>
|
||||
Returns a bit-field corresponding to the image formats supported by the
|
||||
version of GD linked into PHP. The following bits are returned,
|
||||
<constant>IMG_BMP</constant> |
|
||||
<constant>IMG_AVIF</constant> | <constant>IMG_BMP</constant> |
|
||||
<constant>IMG_GIF</constant> | <constant>IMG_JPG</constant> |
|
||||
<constant>IMG_PNG</constant> | <constant>IMG_WBMP</constant> |
|
||||
<constant>IMG_XPM</constant> | <constant>IMG_WEBP</constant>.
|
||||
|
@ -45,6 +45,12 @@
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry>
|
||||
<constant>IMG_AVIF</constant> added.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>7.2.0</entry>
|
||||
<entry>
|
||||
|
|
Loading…
Reference in a new issue