reference/image/functions/gd-info.xml
8a28a068fae1b82c3907e520a68c23967c682ac6
...
...
@@ -16,6 +16,12 @@
16
16
library.
17
17
</para>
18
18
</refsect1>
19
+

20
+
<refsect1 role="parameters">
21
+
&reftitle.parameters;
22
+
&no.function.parameters;
23
+
</refsect1>
24
+
19
25
<refsect1 role="returnvalues">
20
26
&reftitle.returnvalues;
21
27
<para>
...
...
@@ -39,7 +45,7 @@
39
45
</row>
40
46
<row>
41
47
<entry>FreeType Support</entry>
42
-
<entry><type>boolean</type> value. &true;
48
+
<entry><type>bool</type> value. &true;
43
49
if FreeType Support is installed.</entry>
44
50
</row>
45
51
<row>
...
...
@@ -51,58 +57,54 @@
51
57
&true;.</entry>
52
58
</row>
53
59
<row>
54
-
<entry>T1Lib Support</entry>
55
-
<entry><type>boolean</type> value. &true;
56
-
if <literal>T1Lib</literal> support is included.</entry>
57
-
</row>
58
-
<row>
59
60
<entry>GIF Read Support</entry>
60
-
<entry><type>boolean</type> value. &true;
61
+
<entry><type>bool</type> value. &true;
61
62
if support for <emphasis>reading</emphasis> <literal>GIF</literal>
62
63
images is included.</entry>
63
64
</row>
64
65
<row>
65
66
<entry>GIF Create Support</entry>
66
-
<entry><type>boolean</type> value. &true;
67
+
<entry><type>bool</type> value. &true;
67
68
if support for <emphasis>creating</emphasis> <literal>GIF</literal>
68
69
images is included.</entry>
69
70
</row>
70
71
<row>
71
72
<entry>JPEG Support</entry>
72
-
<entry><type>boolean</type> value. &true;
73
+
<entry><type>bool</type> value. &true;
73
74
if <literal>JPEG</literal> support is included.</entry>
74
75
</row>
75
76
<row>
76
77
<entry>PNG Support</entry>
77
-
<entry><type>boolean</type> value. &true;
78
+
<entry><type>bool</type> value. &true;
78
79
if <literal>PNG</literal> support is included.</entry>
79
80
</row>
80
81
<row>
81
82
<entry>WBMP Support</entry>
82
-
<entry><type>boolean</type> value. &true;
83
+
<entry><type>bool</type> value. &true;
83
84
if <literal>WBMP</literal> support is included.</entry>
84
85
</row>
85
86
<row>
86
87
<entry>XBM Support</entry>
87
-
<entry><type>boolean</type> value. &true;
88
+
<entry><type>bool</type> value. &true;
88
89
if <literal>XBM</literal> support is included.</entry>
89
90
</row>
90
91
<row>
91
92
<entry>WebP Support</entry>
92
-
<entry><type>boolean</type> value. &true;
93
+
<entry><type>bool</type> value. &true;
93
94
if <literal>WebP</literal> support is included.</entry>
94
95
</row>
96
+
<row>
97
+
<entry>AVIF Support</entry>
98
+
<entry><type>bool</type> value. &true;
99
+
if <literal>AVIF</literal> support is included.
100
+
Available as of PHP 8.1.0.</entry>
101
+
</row>
95
102
</tbody>
96
103
</tgroup>
97
104
</table>
98
105
</para>
99
-
<note>
100
-
<para>
101
-
Previous to PHP 5.3.0, the <literal>JPEG Support</literal> attribute was named
102
-
<literal>JPG Support</literal>.
103
-
</para>
104
-
</note>
105
106
</refsect1>
107
+

106
108
<refsect1 role="examples">
107
109
&reftitle.examples;
108
110
<para>
...
...
@@ -123,8 +125,6 @@ array(10) {
123
125
string(24) "bundled (2.1.0 compatible)"
124
126
["FreeType Support"]=>
125
127
bool(false)
126
-
["T1Lib Support"]=>
127
-
bool(false)
128
128
["GIF Read Support"]=>
129
129
bool(true)
130
130
["GIF Create Support"]=>
...
...
@@ -139,6 +139,8 @@ array(10) {
139
139
bool(false)
140
140
["WebP Support"]=>
141
141
bool(false)
142
+
["AVIF Support"]=>
143
+
bool(false)
142
144
}
143
145
]]>
144
146
</screen>
...
...
@@ -146,48 +148,17 @@ array(10) {
146
148
</para>
147
149
</refsect1>
148
150

149
-
<refsect1 role="changelog">
150
-
&reftitle.changelog;
151
-
<para>
152
-
<informaltable>
153
-
<tgroup cols="2">
154
-
<thead>
155
-
<row>
156
-
<entry>&Version;</entry>
157
-
<entry>&Description;</entry>
158
-
</row>
159
-
</thead>
160
-
<tbody>
161
-
<row>
162
-
<entry>5.6.12</entry>
163
-
<entry>
164
-
<literal>WebP Support</literal> added.
165
-
</entry>
166
-
</row>
167
-
<row>
168
-
<entry>5.3.0</entry>
169
-
<entry>
170
-
<literal>JPG Support</literal> attribute renamed to <literal>JPEG Support</literal>.
171
-
</entry>
172
-
</row>
173
-
</tbody>
174
-
</tgroup>
175
-
</informaltable>
176
-
</para>
177
-
</refsect1>
178
-

179
151
<refsect1 role="seealso">
180
152
&reftitle.seealso;
181
-
<para>
182
-
<simplelist>
183
-
<member><function>imagepng</function></member>
184
-
<member><function>imagejpeg</function></member>
185
-
<member><function>imagegif</function></member>
186
-
<member><function>imagewbmp</function></member>
187
-
<member><function>imagewebp</function></member>
188
-
<member><function>imagetypes</function></member>
189
-
</simplelist>
190
-
</para>
153
+
<simplelist>
154
+
<member><function>imagepng</function></member>
155
+
<member><function>imagejpeg</function></member>
156
+
<member><function>imagegif</function></member>
157
+
<member><function>imagewbmp</function></member>
158
+
<member><function>imagewebp</function></member>
159
+
<member><function>imageavif</function></member>
160
+
<member><function>imagetypes</function></member>
161
+
</simplelist>
191
162
</refsect1>
192
163
</refentry>
193
164

194
165