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,16 @@
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>)
471
489
</term>
472
490
<listitem>
473
491
&gd.constants.filter;
474
-
<simpara>
475
-
(Available as of PHP 5.3.0)
476
-
</simpara>
477
492
</listitem>
478
493
</varlistentry>
479
494
<varlistentry xml:id="constant.img-filter-scatter">
480
495
<term>
481
496
<constant>IMG_FILTER_SCATTER</constant>
482
-
(<type>integer</type>)
497
+
(<type>int</type>)
483
498
</term>
484
499
<listitem>
485
500
&gd.constants.filter;
...
...
@@ -491,7 +506,7 @@
491
506
<varlistentry xml:id="constant.imagetype-gif">
492
507
<term>
493
508
<constant>IMAGETYPE_GIF</constant>
494
-
(<type>integer</type>)
509
+
(<type>int</type>)
495
510
</term>
496
511
<listitem>
497
512
&gd.constants.type;
...
...
@@ -500,7 +515,7 @@
500
515
<varlistentry xml:id="constant.imagetype-jpeg">
501
516
<term>
502
517
<constant>IMAGETYPE_JPEG</constant>
503
-
(<type>integer</type>)
518
+
(<type>int</type>)
504
519
</term>
505
520
<listitem>
506
521
&gd.constants.type;
...
...
@@ -509,7 +524,7 @@
509
524
<varlistentry xml:id="constant.imagetype-jpeg2000">
510
525
<term>
511
526
<constant>IMAGETYPE_JPEG2000</constant>
512
-
(<type>integer</type>)
527
+
(<type>int</type>)
513
528
</term>
514
529
<listitem>
515
530
&gd.constants.type;
...
...
@@ -518,7 +533,7 @@
518
533
<varlistentry xml:id="constant.imagetype-png">
519
534
<term>
520
535
<constant>IMAGETYPE_PNG</constant>
521
-
(<type>integer</type>)
536
+
(<type>int</type>)
522
537
</term>
523
538
<listitem>
524
539
&gd.constants.type;
...
...
@@ -527,7 +542,7 @@
527
542
<varlistentry xml:id="constant.imagetype-swf">
528
543
<term>
529
544
<constant>IMAGETYPE_SWF</constant>
530
-
(<type>integer</type>)
545
+
(<type>int</type>)
531
546
</term>
532
547
<listitem>
533
548
&gd.constants.type;
...
...
@@ -536,7 +551,7 @@
536
551
<varlistentry xml:id="constant.imagetype-psd">
537
552
<term>
538
553
<constant>IMAGETYPE_PSD</constant>
539
-
(<type>integer</type>)
554
+
(<type>int</type>)
540
555
</term>
541
556
<listitem>
542
557
&gd.constants.type;
...
...
@@ -545,7 +560,7 @@
545
560
<varlistentry xml:id="constant.imagetype-bmp">
546
561
<term>
547
562
<constant>IMAGETYPE_BMP</constant>
548
-
(<type>integer</type>)
563
+
(<type>int</type>)
549
564
</term>
550
565
<listitem>
551
566
&gd.constants.type;
...
...
@@ -554,7 +569,7 @@
554
569
<varlistentry xml:id="constant.imagetype-wbmp">
555
570
<term>
556
571
<constant>IMAGETYPE_WBMP</constant>
557
-
(<type>integer</type>)
572
+
(<type>int</type>)
558
573
</term>
559
574
<listitem>
560
575
&gd.constants.type;
...
...
@@ -563,7 +578,7 @@
563
578
<varlistentry xml:id="constant.imagetype-xbm">
564
579
<term>
565
580
<constant>IMAGETYPE_XBM</constant>
566
-
(<type>integer</type>)
581
+
(<type>int</type>)
567
582
</term>
568
583
<listitem>
569
584
&gd.constants.type;
...
...
@@ -572,7 +587,7 @@
572
587
<varlistentry xml:id="constant.imagetype-tiff-ii">
573
588
<term>
574
589
<constant>IMAGETYPE_TIFF_II</constant>
575
-
(<type>integer</type>)
590
+
(<type>int</type>)
576
591
</term>
577
592
<listitem>
578
593
&gd.constants.type;
...
...
@@ -581,7 +596,7 @@
581
596
<varlistentry xml:id="constant.imagetype-tiff-mm">
582
597
<term>
583
598
<constant>IMAGETYPE_TIFF_MM</constant>
584
-
(<type>integer</type>)
599
+
(<type>int</type>)
585
600
</term>
586
601
<listitem>
587
602
&gd.constants.type;
...
...
@@ -590,7 +605,7 @@
590
605
<varlistentry xml:id="constant.imagetype-iff">
591
606
<term>
592
607
<constant>IMAGETYPE_IFF</constant>
593
-
(<type>integer</type>)
608
+
(<type>int</type>)
594
609
</term>
595
610
<listitem>
596
611
&gd.constants.type;
...
...
@@ -599,7 +614,7 @@
599
614
<varlistentry xml:id="constant.imagetype-jb2">
600
615
<term>
601
616
<constant>IMAGETYPE_JB2</constant>
602
-
(<type>integer</type>)
617
+
(<type>int</type>)
603
618
</term>
604
619
<listitem>
605
620
&gd.constants.type;
...
...
@@ -608,7 +623,7 @@
608
623
<varlistentry xml:id="constant.imagetype-jpc">
609
624
<term>
610
625
<constant>IMAGETYPE_JPC</constant>
611
-
(<type>integer</type>)
626
+
(<type>int</type>)
612
627
</term>
613
628
<listitem>
614
629
&gd.constants.type;
...
...
@@ -617,7 +632,7 @@
617
632
<varlistentry xml:id="constant.imagetype-jp2">
618
633
<term>
619
634
<constant>IMAGETYPE_JP2</constant>
620
-
(<type>integer</type>)
635
+
(<type>int</type>)
621
636
</term>
622
637
<listitem>
623
638
&gd.constants.type;
...
...
@@ -626,7 +641,7 @@
626
641
<varlistentry xml:id="constant.imagetype-jpx">
627
642
<term>
628
643
<constant>IMAGETYPE_JPX</constant>
629
-
(<type>integer</type>)
644
+
(<type>int</type>)
630
645
</term>
631
646
<listitem>
632
647
&gd.constants.type;
...
...
@@ -635,7 +650,7 @@
635
650
<varlistentry xml:id="constant.imagetype-swc">
636
651
<term>
637
652
<constant>IMAGETYPE_SWC</constant>
638
-
(<type>integer</type>)
653
+
(<type>int</type>)
639
654
</term>
640
655
<listitem>
641
656
&gd.constants.type;
...
...
@@ -644,19 +659,16 @@
644
659
<varlistentry xml:id="constant.imagetype-ico">
645
660
<term>
646
661
<constant>IMAGETYPE_ICO</constant>
647
-
(<type>integer</type>)
662
+
(<type>int</type>)
648
663
</term>
649
664
<listitem>
650
665
&gd.constants.type;
651
-
<simpara>
652
-
(Available as of PHP 5.3.0)
653
-
</simpara>
654
666
</listitem>
655
667
</varlistentry>
656
668
<varlistentry xml:id="constant.imagetype-webp">
657
669
<term>
658
670
<constant>IMAGETYPE_WEBP</constant>
659
-
(<type>integer</type>)
671
+
(<type>int</type>)
660
672
</term>
661
673
<listitem>
662
674
&gd.constants.type;
...
...
@@ -665,10 +677,22 @@
665
677
</simpara>
666
678
</listitem>
667
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>
668
692
<varlistentry xml:id="constant.png-no-filter">
669
693
<term>
670
694
<constant>PNG_NO_FILTER</constant>
671
-
(<type>integer</type>)
695
+
(<type>int</type>)
672
696
</term>
673
697
<listitem>
674
698
&gd.constants.png-filter;
...
...
@@ -677,7 +701,7 @@
677
701
<varlistentry xml:id="constant.png-filter-none">
678
702
<term>
679
703
<constant>PNG_FILTER_NONE</constant>
680
-
(<type>integer</type>)
704
+
(<type>int</type>)
681
705
</term>
682
706
<listitem>
683
707
&gd.constants.png-filter;
...
...
@@ -686,7 +710,7 @@
686
710
<varlistentry xml:id="constant.png-filter-sub">
687
711
<term>
688
712
<constant>PNG_FILTER_SUB</constant>
689
-
(<type>integer</type>)
713
+
(<type>int</type>)
690
714
</term>
691
715
<listitem>
692
716
&gd.constants.png-filter;
...
...
@@ -695,7 +719,7 @@
695
719
<varlistentry xml:id="constant.png-filter-up">
696
720
<term>
697
721
<constant>PNG_FILTER_UP</constant>
698
-
(<type>integer</type>)
722
+
(<type>int</type>)
699
723
</term>
700
724
<listitem>
701
725
&gd.constants.png-filter;
...
...
@@ -704,7 +728,7 @@
704
728
<varlistentry xml:id="constant.png-filter-avg">
705
729
<term>
706
730
<constant>PNG_FILTER_AVG</constant>
707
-
(<type>integer</type>)
731
+
(<type>int</type>)
708
732
</term>
709
733
<listitem>
710
734
&gd.constants.png-filter;
...
...
@@ -713,7 +737,7 @@
713
737
<varlistentry xml:id="constant.png-filter-paeth">
714
738
<term>
715
739
<constant>PNG_FILTER_PAETH</constant>
716
-
(<type>integer</type>)
740
+
(<type>int</type>)
717
741
</term>
718
742
<listitem>
719
743
&gd.constants.png-filter;
...
...
@@ -722,7 +746,7 @@
722
746
<varlistentry xml:id="constant.png-all-filters">
723
747
<term>
724
748
<constant>PNG_ALL_FILTERS</constant>
725
-
(<type>integer</type>)
749
+
(<type>int</type>)
726
750
</term>
727
751
<listitem>
728
752
&gd.constants.png-filter;
729
753