reference/image/constants.xml
5e9500ddad6dbc2f1b01d7da8b53379c8b7c386c
...
...
@@ -12,7 +12,6 @@
12
12
<listitem>
13
13
<simpara>
14
14
The GD version PHP was compiled against.
15
-
(Available as of PHP 5.2.4)
16
15
</simpara>
17
16
</listitem>
18
17
</varlistentry>
...
...
@@ -20,12 +19,11 @@
20
19
<varlistentry xml:id="constant.gd-major-version">
21
20
<term>
22
21
<constant>GD_MAJOR_VERSION</constant>
23
-
(<type>integer</type>)
22
+
(<type>int</type>)
24
23
</term>
25
24
<listitem>
26
25
<simpara>
27
26
The GD major version PHP was compiled against.
28
-
(Available as of PHP 5.2.4)
29
27
</simpara>
30
28
</listitem>
31
29
</varlistentry>
...
...
@@ -33,12 +31,11 @@
33
31
<varlistentry xml:id="constant.gd-minor-version">
34
32
<term>
35
33
<constant>GD_MINOR_VERSION</constant>
36
-
(<type>integer</type>)
34
+
(<type>int</type>)
37
35
</term>
38
36
<listitem>
39
37
<simpara>
40
38
The GD minor version PHP was compiled against.
41
-
(Available as of PHP 5.2.4)
42
39
</simpara>
43
40
</listitem>
44
41
</varlistentry>
...
...
@@ -46,12 +43,11 @@
46
43
<varlistentry xml:id="constant.gd-release-version">
47
44
<term>
48
45
<constant>GD_RELEASE_VERSION</constant>
49
-
(<type>integer</type>)
46
+
(<type>int</type>)
50
47
</term>
51
48
<listitem>
52
49
<simpara>
53
50
The GD release version PHP was compiled against.
54
-
(Available as of PHP 5.2.4)
55
51
</simpara>
56
52
</listitem>
57
53
</varlistentry>
...
...
@@ -64,7 +60,6 @@
64
60
<listitem>
65
61
<simpara>
66
62
The GD "extra" version (beta/rc..) PHP was compiled against.
67
-
(Available as of PHP 5.2.4)
68
63
</simpara>
69
64
</listitem>
70
65
</varlistentry>
...
...
@@ -72,7 +67,7 @@
72
67
<varlistentry xml:id="constant.gd-bundled">
73
68
<term>
74
69
<constant>GD_BUNDLED</constant>
75
-
(<type>integer</type>)
70
+
(<type>int</type>)
76
71
</term>
77
72
<listitem>
78
73
<simpara>
...
...
@@ -82,10 +77,22 @@
82
77
</listitem>
83
78
</varlistentry>
84
79

80
+
<varlistentry xml:id="constant.img-avif">
81
+
<term>
82
+
<constant>IMG_AVIF</constant>
83
+
(<type>int</type>)
84
+
</term>
85
+
<listitem>
86
+
&gd.constants.types;
87
+
<simpara>
88
+
(Available as of PHP 8.1.0)
89
+
</simpara>
90
+
</listitem>
91
+
</varlistentry>
85
92
<varlistentry xml:id="constant.img-bmp">
86
93
<term>
87
94
<constant>IMG_BMP</constant>
88
-
(<type>integer</type>)
95
+
(<type>int</type>)
89
96
</term>
90
97
<listitem>
91
98
&gd.constants.types;
...
...
@@ -94,7 +101,7 @@
94
101
<varlistentry xml:id="constant.img-gif">
95
102
<term>
96
103
<constant>IMG_GIF</constant>
97
-
(<type>integer</type>)
104
+
(<type>int</type>)
98
105
</term>
99
106
<listitem>
100
107
&gd.constants.types;
...
...
@@ -103,7 +110,7 @@
103
110
<varlistentry xml:id="constant.img-jpg">
104
111
<term>
105
112
<constant>IMG_JPG</constant>
106
-
(<type>integer</type>)
113
+
(<type>int</type>)
107
114
</term>
108
115
<listitem>
109
116
&gd.constants.types;
...
...
@@ -112,7 +119,7 @@
112
119
<varlistentry xml:id="constant.img-jpeg">
113
120
<term>
114
121
<constant>IMG_JPEG</constant>
115
-
(<type>integer</type>)
122
+
(<type>int</type>)
116
123
</term>
117
124
<listitem>
118
125
&gd.constants.types;
...
...
@@ -126,7 +133,7 @@
126
133
<varlistentry xml:id="constant.img-png">
127
134
<term>
128
135
<constant>IMG_PNG</constant>
129
-
(<type>integer</type>)
136
+
(<type>int</type>)
130
137
</term>
131
138
<listitem>
132
139
&gd.constants.types;
...
...
@@ -135,7 +142,7 @@
135
142
<varlistentry xml:id="constant.img-wbmp">
136
143
<term>
137
144
<constant>IMG_WBMP</constant>
138
-
(<type>integer</type>)
145
+
(<type>int</type>)
139
146
</term>
140
147
<listitem>
141
148
&gd.constants.types;
...
...
@@ -144,7 +151,7 @@
144
151
<varlistentry xml:id="constant.img-xpm">
145
152
<term>
146
153
<constant>IMG_XPM</constant>
147
-
(<type>integer</type>)
154
+
(<type>int</type>)
148
155
</term>
149
156
<listitem>
150
157
&gd.constants.types;
...
...
@@ -153,19 +160,30 @@
153
160
<varlistentry xml:id="constant.img-webp">
154
161
<term>
155
162
<constant>IMG_WEBP</constant>
156
-
(<type>integer</type>)
163
+
(<type>int</type>)
157
164
</term>
158
165
<listitem>
159
166
&gd.constants.types;
160
167
<simpara>
161
-
Available as of PHP 5.6.25 and PHP 7.0.10, respectively.
168
+
(Available as of PHP 7.0.10)
169
+
</simpara>
170
+
</listitem>
171
+
</varlistentry>
172
+
<varlistentry xml:id="constant.img-webp-lossless">
173
+
<term>
174
+
<constant>IMG_WEBP_LOSSLESS</constant>
175
+
(<type>int</type>)
176
+
</term>
177
+
<listitem>
178
+
<simpara>
179
+
(Available as of PHP 8.1.0)
162
180
</simpara>
163
181
</listitem>
164
182
</varlistentry>
165
183
<varlistentry xml:id="constant.img-color-tiled">
166
184
<term>
167
185
<constant>IMG_COLOR_TILED</constant>
168
-
(<type>integer</type>)
186
+
(<type>int</type>)
169
187
</term>
170
188
<listitem>
171
189
&gd.constants.color;
...
...
@@ -174,7 +192,7 @@
174
192
<varlistentry xml:id="constant.img-color-styled">
175
193
<term>
176
194
<constant>IMG_COLOR_STYLED</constant>
177
-
(<type>integer</type>)
195
+
(<type>int</type>)
178
196
</term>
179
197
<listitem>
180
198
&gd.constants.color;
...
...
@@ -183,7 +201,7 @@
183
201
<varlistentry xml:id="constant.img-color-brushed">
184
202
<term>
185
203
<constant>IMG_COLOR_BRUSHED</constant>
186
-
(<type>integer</type>)
204
+
(<type>int</type>)
187
205
</term>
188
206
<listitem>
189
207
&gd.constants.color;
...
...
@@ -192,7 +210,7 @@
192
210
<varlistentry xml:id="constant.img-color-styledbrushed">
193
211
<term>
194
212
<constant>IMG_COLOR_STYLEDBRUSHED</constant>
195
-
(<type>integer</type>)
213
+
(<type>int</type>)
196
214
</term>
197
215
<listitem>
198
216
&gd.constants.color;
...
...
@@ -201,7 +219,7 @@
201
219
<varlistentry xml:id="constant.img-color-transparent">
202
220
<term>
203
221
<constant>IMG_COLOR_TRANSPARENT</constant>
204
-
(<type>integer</type>)
222
+
(<type>int</type>)
205
223
</term>
206
224
<listitem>
207
225
&gd.constants.color;
...
...
@@ -210,7 +228,7 @@
210
228
<varlistentry xml:id="constant.img-affine-translate">
211
229
<term>
212
230
<constant>IMG_AFFINE_TRANSLATE</constant>
213
-
(<type>integer</type>)
231
+
(<type>int</type>)
214
232
</term>
215
233
<listitem>
216
234
&gd.constants.affine;
...
...
@@ -219,7 +237,7 @@
219
237
<varlistentry xml:id="constant.img-affine-scale">
220
238
<term>
221
239
<constant>IMG_AFFINE_SCALE</constant>
222
-
(<type>integer</type>)
240
+
(<type>int</type>)
223
241
</term>
224
242
<listitem>
225
243
&gd.constants.affine;
...
...
@@ -228,7 +246,7 @@
228
246
<varlistentry xml:id="constant.img-affine-rotate">
229
247
<term>
230
248
<constant>IMG_AFFINE_ROTATE</constant>
231
-
(<type>integer</type>)
249
+
(<type>int</type>)
232
250
</term>
233
251
<listitem>
234
252
&gd.constants.affine;
...
...
@@ -237,7 +255,7 @@
237
255
<varlistentry xml:id="constant.img-affine-shear-horizontal">
238
256
<term>
239
257
<constant>IMG_AFFINE_SHEAR_HORIZONTAL</constant>
240
-
(<type>integer</type>)
258
+
(<type>int</type>)
241
259
</term>
242
260
<listitem>
243
261
&gd.constants.affine;
...
...
@@ -246,7 +264,7 @@
246
264
<varlistentry xml:id="constant.img-affine-shear-vertical">
247
265
<term>
248
266
<constant>IMG_AFFINE_SHEAR_VERTICAL</constant>
249
-
(<type>integer</type>)
267
+
(<type>int</type>)
250
268
</term>
251
269
<listitem>
252
270
&gd.constants.affine;
...
...
@@ -255,7 +273,7 @@
255
273
<varlistentry xml:id="constant.img-arc-rounded">
256
274
<term>
257
275
<constant>IMG_ARC_ROUNDED</constant>
258
-
(<type>integer</type>)
276
+
(<type>int</type>)
259
277
</term>
260
278
<listitem>
261
279
&gd.constants.arc;
...
...
@@ -269,7 +287,7 @@
269
287
<varlistentry xml:id="constant.img-arc-pie">
270
288
<term>
271
289
<constant>IMG_ARC_PIE</constant>
272
-
(<type>integer</type>)
290
+
(<type>int</type>)
273
291
</term>
274
292
<listitem>
275
293
&gd.constants.arc;
...
...
@@ -278,7 +296,7 @@
278
296
<varlistentry xml:id="constant.img-arc-chord">
279
297
<term>
280
298
<constant>IMG_ARC_CHORD</constant>
281
-
(<type>integer</type>)
299
+
(<type>int</type>)
282
300
</term>
283
301
<listitem>
284
302
&gd.constants.arc;
...
...
@@ -287,7 +305,7 @@
287
305
<varlistentry xml:id="constant.img-arc-nofill">
288
306
<term>
289
307
<constant>IMG_ARC_NOFILL</constant>
290
-
(<type>integer</type>)
308
+
(<type>int</type>)
291
309
</term>
292
310
<listitem>
293
311
&gd.constants.arc;
...
...
@@ -296,7 +314,7 @@
296
314
<varlistentry xml:id="constant.img-arc-edged">
297
315
<term>
298
316
<constant>IMG_ARC_EDGED</constant>
299
-
(<type>integer</type>)
317
+
(<type>int</type>)
300
318
</term>
301
319
<listitem>
302
320
&gd.constants.arc;
...
...
@@ -305,7 +323,7 @@
305
323
<varlistentry xml:id="constant.img-gd2-raw">
306
324
<term>
307
325
<constant>IMG_GD2_RAW</constant>
308
-
(<type>integer</type>)
326
+
(<type>int</type>)
309
327
</term>
310
328
<listitem>
311
329
&gd.constants.gd2;
...
...
@@ -314,7 +332,7 @@
314
332
<varlistentry xml:id="constant.img-gd2-compressed">
315
333
<term>
316
334
<constant>IMG_GD2_COMPRESSED</constant>
317
-
(<type>integer</type>)
335
+
(<type>int</type>)
318
336
</term>
319
337
<listitem>
320
338
&gd.constants.gd2;
...
...
@@ -323,7 +341,7 @@
323
341
<varlistentry xml:id="constant.img-effect-replace">
324
342
<term>
325
343
<constant>IMG_EFFECT_REPLACE</constant>
326
-
(<type>integer</type>)
344
+
(<type>int</type>)
327
345
</term>
328
346
<listitem>
329
347
&gd.constants.effect;
...
...
@@ -332,7 +350,7 @@
332
350
<varlistentry xml:id="constant.img-effect-alphablend">
333
351
<term>
334
352
<constant>IMG_EFFECT_ALPHABLEND</constant>
335
-
(<type>integer</type>)
353
+
(<type>int</type>)
336
354
</term>
337
355
<listitem>
338
356
&gd.constants.effect;
...
...
@@ -341,7 +359,7 @@
341
359
<varlistentry xml:id="constant.img-effect-normal">
342
360
<term>
343
361
<constant>IMG_EFFECT_NORMAL</constant>
344
-
(<type>integer</type>)
362
+
(<type>int</type>)
345
363
</term>
346
364
<listitem>
347
365
&gd.constants.effect;
...
...
@@ -350,7 +368,7 @@
350
368
<varlistentry xml:id="constant.img-effect-overlay">
351
369
<term>
352
370
<constant>IMG_EFFECT_OVERLAY</constant>
353
-
(<type>integer</type>)
371
+
(<type>int</type>)
354
372
</term>
355
373
<listitem>
356
374
&gd.constants.effect;
...
...
@@ -359,7 +377,7 @@
359
377
<varlistentry xml:id="constant.img-effect-multiply">
360
378
<term>
361
379
<constant>IMG_EFFECT_MULTIPLY</constant>
362
-
(<type>integer</type>)
380
+
(<type>int</type>)
363
381
</term>
364
382
<listitem>
365
383
&gd.constants.effect;
...
...
@@ -368,7 +386,7 @@
368
386
<varlistentry xml:id="constant.img-filter-negate">
369
387
<term>
370
388
<constant>IMG_FILTER_NEGATE</constant>
371
-
(<type>integer</type>)
389
+
(<type>int</type>)
372
390
</term>
373
391
<listitem>
374
392
&gd.constants.filter;
...
...
@@ -377,7 +395,7 @@
377
395
<varlistentry xml:id="constant.img-filter-grayscale">
378
396
<term>
379
397
<constant>IMG_FILTER_GRAYSCALE</constant>
380
-
(<type>integer</type>)
398
+
(<type>int</type>)
381
399
</term>
382
400
<listitem>
383
401
&gd.constants.filter;
...
...
@@ -386,7 +404,7 @@
386
404
<varlistentry xml:id="constant.img-filter-brightness">
387
405
<term>
388
406
<constant>IMG_FILTER_BRIGHTNESS</constant>
389
-
(<type>integer</type>)
407
+
(<type>int</type>)
390
408
</term>
391
409
<listitem>
392
410
&gd.constants.filter;
...
...
@@ -395,7 +413,7 @@
395
413
<varlistentry xml:id="constant.img-filter-contrast">
396
414
<term>
397
415
<constant>IMG_FILTER_CONTRAST</constant>
398
-
(<type>integer</type>)
416
+
(<type>int</type>)
399
417
</term>
400
418
<listitem>
401
419
&gd.constants.filter;
...
...
@@ -404,7 +422,7 @@
404
422
<varlistentry xml:id="constant.img-filter-colorize">
405
423
<term>
406
424
<constant>IMG_FILTER_COLORIZE</constant>
407
-
(<type>integer</type>)
425
+
(<type>int</type>)
408
426
</term>
409
427
<listitem>
410
428
&gd.constants.filter;
...
...
@@ -413,7 +431,7 @@
413
431
<varlistentry xml:id="constant.img-filter-edgedetect">
414
432
<term>
415
433
<constant>IMG_FILTER_EDGEDETECT</constant>
416
-
(<type>integer</type>)
434
+
(<type>int</type>)
417
435
</term>
418
436
<listitem>
419
437
&gd.constants.filter;
...
...
@@ -422,7 +440,7 @@
422
440
<varlistentry xml:id="constant.img-filter-gaussian-blur">
423
441
<term>
424
442
<constant>IMG_FILTER_GAUSSIAN_BLUR</constant>
425
-
(<type>integer</type>)
443
+
(<type>int</type>)
426
444
</term>
427
445
<listitem>
428
446
&gd.constants.filter;
...
...
@@ -431,7 +449,7 @@
431
449
<varlistentry xml:id="constant.img-filter-selective-blur">
432
450
<term>
433
451
<constant>IMG_FILTER_SELECTIVE_BLUR</constant>
434
-
(<type>integer</type>)
452
+
(<type>int</type>)
435
453
</term>
436
454
<listitem>
437
455
&gd.constants.filter;
...
...
@@ -440,7 +458,7 @@
440
458
<varlistentry xml:id="constant.img-filter-emboss">
441
459
<term>
442
460
<constant>IMG_FILTER_EMBOSS</constant>
443
-
(<type>integer</type>)
461
+
(<type>int</type>)
444
462
</term>
445
463
<listitem>
446
464
&gd.constants.filter;
...
...
@@ -449,7 +467,7 @@
449
467
<varlistentry xml:id="constant.img-filter-mean-removal">
450
468
<term>
451
469
<constant>IMG_FILTER_MEAN_REMOVAL</constant>
452
-
(<type>integer</type>)
470
+
(<type>int</type>)
453
471
</term>
454
472
<listitem>
455
473
&gd.constants.filter;
...
...
@@ -458,7 +476,7 @@
458
476
<varlistentry xml:id="constant.img-filter-smooth">
459
477
<term>
460
478
<constant>IMG_FILTER_SMOOTH</constant>
461
-
(<type>integer</type>)
479
+
(<type>int</type>)
462
480
</term>
463
481
<listitem>
464
482
&gd.constants.filter;
...
...
@@ -467,19 +485,28 @@
467
485
<varlistentry xml:id="constant.img-filter-pixelate">
468
486
<term>
469
487
<constant>IMG_FILTER_PIXELATE</constant>
470
-
(<type>integer</type>)
488
+
(<type>int</type>)
489
+
</term>
490
+
<listitem>
491
+
&gd.constants.filter;
492
+
</listitem>
493
+
</varlistentry>
494
+
<varlistentry xml:id="constant.img-filter-scatter">
495
+
<term>
496
+
<constant>IMG_FILTER_SCATTER</constant>
497
+
(<type>int</type>)
471
498
</term>
472
499
<listitem>
473
500
&gd.constants.filter;
474
501
<simpara>
475
-
(Available as of PHP 5.3.0)
502
+
(Available as of PHP 7.4.0)
476
503
</simpara>
477
504
</listitem>
478
505
</varlistentry>
479
506
<varlistentry xml:id="constant.imagetype-gif">
480
507
<term>
481
508
<constant>IMAGETYPE_GIF</constant>
482
-
(<type>integer</type>)
509
+
(<type>int</type>)
483
510
</term>
484
511
<listitem>
485
512
&gd.constants.type;
...
...
@@ -488,7 +515,7 @@
488
515
<varlistentry xml:id="constant.imagetype-jpeg">
489
516
<term>
490
517
<constant>IMAGETYPE_JPEG</constant>
491
-
(<type>integer</type>)
518
+
(<type>int</type>)
492
519
</term>
493
520
<listitem>
494
521
&gd.constants.type;
...
...
@@ -497,7 +524,7 @@
497
524
<varlistentry xml:id="constant.imagetype-jpeg2000">
498
525
<term>
499
526
<constant>IMAGETYPE_JPEG2000</constant>
500
-
(<type>integer</type>)
527
+
(<type>int</type>)
501
528
</term>
502
529
<listitem>
503
530
&gd.constants.type;
...
...
@@ -506,7 +533,7 @@
506
533
<varlistentry xml:id="constant.imagetype-png">
507
534
<term>
508
535
<constant>IMAGETYPE_PNG</constant>
509
-
(<type>integer</type>)
536
+
(<type>int</type>)
510
537
</term>
511
538
<listitem>
512
539
&gd.constants.type;
...
...
@@ -515,7 +542,7 @@
515
542
<varlistentry xml:id="constant.imagetype-swf">
516
543
<term>
517
544
<constant>IMAGETYPE_SWF</constant>
518
-
(<type>integer</type>)
545
+
(<type>int</type>)
519
546
</term>
520
547
<listitem>
521
548
&gd.constants.type;
...
...
@@ -524,7 +551,7 @@
524
551
<varlistentry xml:id="constant.imagetype-psd">
525
552
<term>
526
553
<constant>IMAGETYPE_PSD</constant>
527
-
(<type>integer</type>)
554
+
(<type>int</type>)
528
555
</term>
529
556
<listitem>
530
557
&gd.constants.type;
...
...
@@ -533,7 +560,7 @@
533
560
<varlistentry xml:id="constant.imagetype-bmp">
534
561
<term>
535
562
<constant>IMAGETYPE_BMP</constant>
536
-
(<type>integer</type>)
563
+
(<type>int</type>)
537
564
</term>
538
565
<listitem>
539
566
&gd.constants.type;
...
...
@@ -542,7 +569,7 @@
542
569
<varlistentry xml:id="constant.imagetype-wbmp">
543
570
<term>
544
571
<constant>IMAGETYPE_WBMP</constant>
545
-
(<type>integer</type>)
572
+
(<type>int</type>)
546
573
</term>
547
574
<listitem>
548
575
&gd.constants.type;
...
...
@@ -551,7 +578,7 @@
551
578
<varlistentry xml:id="constant.imagetype-xbm">
552
579
<term>
553
580
<constant>IMAGETYPE_XBM</constant>
554
-
(<type>integer</type>)
581
+
(<type>int</type>)
555
582
</term>
556
583
<listitem>
557
584
&gd.constants.type;
...
...
@@ -560,7 +587,7 @@
560
587
<varlistentry xml:id="constant.imagetype-tiff-ii">
561
588
<term>
562
589
<constant>IMAGETYPE_TIFF_II</constant>
563
-
(<type>integer</type>)
590
+
(<type>int</type>)
564
591
</term>
565
592
<listitem>
566
593
&gd.constants.type;
...
...
@@ -569,7 +596,7 @@
569
596
<varlistentry xml:id="constant.imagetype-tiff-mm">
570
597
<term>
571
598
<constant>IMAGETYPE_TIFF_MM</constant>
572
-
(<type>integer</type>)
599
+
(<type>int</type>)
573
600
</term>
574
601
<listitem>
575
602
&gd.constants.type;
...
...
@@ -578,7 +605,7 @@
578
605
<varlistentry xml:id="constant.imagetype-iff">
579
606
<term>
580
607
<constant>IMAGETYPE_IFF</constant>
581
-
(<type>integer</type>)
608
+
(<type>int</type>)
582
609
</term>
583
610
<listitem>
584
611
&gd.constants.type;
...
...
@@ -587,7 +614,7 @@
587
614
<varlistentry xml:id="constant.imagetype-jb2">
588
615
<term>
589
616
<constant>IMAGETYPE_JB2</constant>
590
-
(<type>integer</type>)
617
+
(<type>int</type>)
591
618
</term>
592
619
<listitem>
593
620
&gd.constants.type;
...
...
@@ -596,7 +623,7 @@
596
623
<varlistentry xml:id="constant.imagetype-jpc">
597
624
<term>
598
625
<constant>IMAGETYPE_JPC</constant>
599
-
(<type>integer</type>)
626
+
(<type>int</type>)
600
627
</term>
601
628
<listitem>
602
629
&gd.constants.type;
...
...
@@ -605,7 +632,7 @@
605
632
<varlistentry xml:id="constant.imagetype-jp2">
606
633
<term>
607
634
<constant>IMAGETYPE_JP2</constant>
608
-
(<type>integer</type>)
635
+
(<type>int</type>)
609
636
</term>
610
637
<listitem>
611
638
&gd.constants.type;
...
...
@@ -614,7 +641,7 @@
614
641
<varlistentry xml:id="constant.imagetype-jpx">
615
642
<term>
616
643
<constant>IMAGETYPE_JPX</constant>
617
-
(<type>integer</type>)
644
+
(<type>int</type>)
618
645
</term>
619
646
<listitem>
620
647
&gd.constants.type;
...
...
@@ -623,7 +650,7 @@
623
650
<varlistentry xml:id="constant.imagetype-swc">
624
651
<term>
625
652
<constant>IMAGETYPE_SWC</constant>
626
-
(<type>integer</type>)
653
+
(<type>int</type>)
627
654
</term>
628
655
<listitem>
629
656
&gd.constants.type;
...
...
@@ -632,19 +659,16 @@
632
659
<varlistentry xml:id="constant.imagetype-ico">
633
660
<term>
634
661
<constant>IMAGETYPE_ICO</constant>
635
-
(<type>integer</type>)
662
+
(<type>int</type>)
636
663
</term>
637
664
<listitem>
638
665
&gd.constants.type;
639
-
<simpara>
640
-
(Available as of PHP 5.3.0)
641
-
</simpara>
642
666
</listitem>
643
667
</varlistentry>
644
668
<varlistentry xml:id="constant.imagetype-webp">
645
669
<term>
646
670
<constant>IMAGETYPE_WEBP</constant>
647
-
(<type>integer</type>)
671
+
(<type>int</type>)
648
672
</term>
649
673
<listitem>
650
674
&gd.constants.type;
...
...
@@ -653,10 +677,22 @@
653
677
</simpara>
654
678
</listitem>
655
679
</varlistentry>
680
+
<varlistentry xml:id="constant.imagetype-avif">
681
+
<term>
682
+
<constant>IMAGETYPE_AVIF</constant>
683
+
(<type>int</type>)
684
+
</term>
685
+
<listitem>
686
+
&gd.constants.type;
687
+
<simpara>
688
+
(Available as of PHP 8.1.0)
689
+
</simpara>
690
+
</listitem>
691
+
</varlistentry>
656
692
<varlistentry xml:id="constant.png-no-filter">
657
693
<term>
658
694
<constant>PNG_NO_FILTER</constant>
659
-
(<type>integer</type>)
695
+
(<type>int</type>)
660
696
</term>
661
697
<listitem>
662
698
&gd.constants.png-filter;
...
...
@@ -665,7 +701,7 @@
665
701
<varlistentry xml:id="constant.png-filter-none">
666
702
<term>
667
703
<constant>PNG_FILTER_NONE</constant>
668
-
(<type>integer</type>)
704
+
(<type>int</type>)
669
705
</term>
670
706
<listitem>
671
707
&gd.constants.png-filter;
...
...
@@ -674,7 +710,7 @@
674
710
<varlistentry xml:id="constant.png-filter-sub">
675
711
<term>
676
712
<constant>PNG_FILTER_SUB</constant>
677
-
(<type>integer</type>)
713
+
(<type>int</type>)
678
714
</term>
679
715
<listitem>
680
716
&gd.constants.png-filter;
...
...
@@ -683,7 +719,7 @@
683
719
<varlistentry xml:id="constant.png-filter-up">
684
720
<term>
685
721
<constant>PNG_FILTER_UP</constant>
686
-
(<type>integer</type>)
722
+
(<type>int</type>)
687
723
</term>
688
724
<listitem>
689
725
&gd.constants.png-filter;
...
...
@@ -692,7 +728,7 @@
692
728
<varlistentry xml:id="constant.png-filter-avg">
693
729
<term>
694
730
<constant>PNG_FILTER_AVG</constant>
695
-
(<type>integer</type>)
731
+
(<type>int</type>)
696
732
</term>
697
733
<listitem>
698
734
&gd.constants.png-filter;
...
...
@@ -701,7 +737,7 @@
701
737
<varlistentry xml:id="constant.png-filter-paeth">
702
738
<term>
703
739
<constant>PNG_FILTER_PAETH</constant>
704
-
(<type>integer</type>)
740
+
(<type>int</type>)
705
741
</term>
706
742
<listitem>
707
743
&gd.constants.png-filter;
...
...
@@ -710,7 +746,7 @@
710
746
<varlistentry xml:id="constant.png-all-filters">
711
747
<term>
712
748
<constant>PNG_ALL_FILTERS</constant>
713
-
(<type>integer</type>)
749
+
(<type>int</type>)
714
750
</term>
715
751
<listitem>
716
752
&gd.constants.png-filter;
717
753