reference/image/setup.xml
9ba738103b63ee4f129dadf3f8585568609e63b7
...
...
@@ -16,14 +16,17 @@
16
16
The format of images you are able to manipulate depend on the
17
17
version of <acronym>GD</acronym> you install, and any other libraries
18
18
<acronym>GD</acronym> might need to access those image formats.
19
-
<acronym>GIF</acronym> support is available as of gd-2.0.28.
20
19
<note>
21
20
<simpara>
22
-
libgd-2.0.4 or higher is required.
23
-
As of PHP 5.5 libgd-2.1.0 or higher is required. Alternatively, use
21
+
libgd-2.1.0 or higher is required. Alternatively, use
24
22
the bundled <acronym>GD</acronym> library that ships with PHP.
25
23
</simpara>
26
24
</note>
25
+
<note>
26
+
<simpara>
27
+
The <acronym>GD</acronym> library requires zlib &gt;= 1.2.0.4.
28
+
</simpara>
29
+
</note>
27
30
</para>
28
31
<para>
29
32
You may wish to enhance <acronym>GD</acronym> to handle more image formats.
...
...
@@ -41,11 +44,12 @@
41
44
<row>
42
45
<entry><literal>gif</literal></entry>
43
46
<entry></entry>
44
-
<entry>
45
-
Only supported in <acronym>GD</acronym> versions newer than
46
-
gd-2.0.28. <emphasis>Write</emphasis> support is available as of
47
-
PHP 5.0.1.
48
-
</entry>
47
+
<entry></entry>
48
+
</row>
49
+
<row>
50
+
<entry><literal>avif</literal></entry>
51
+
<entry></entry>
52
+
<entry></entry>
49
53
</row>
50
54
<row>
51
55
<entry><literal>jpeg</literal></entry>
...
...
@@ -72,46 +76,20 @@
72
76
has an installed X-Environment.
73
77
</entry>
74
78
</row>
75
-
</tbody>
76
-
</tgroup>
77
-
</table>
78
-
</para>
79
-

80
-
<para>
81
-
You may wish to enhance <acronym>GD</acronym> to deal with different fonts. The following
82
-
font libraries are supported:
83
-
<table>
84
-
<title>Supported font libraries</title>
85
-
<tgroup cols="3">
86
-
<thead>
87
79
<row>
88
-
<entry>Font library</entry>
89
-
<entry>Download</entry>
90
-
<entry>Notes</entry>
91
-
</row>
92
-
</thead>
93
-
<tbody>
94
-
<row>
95
-
<entry><literal>FreeType 1.x</literal></entry>
96
-
<entry><link xlink:href="&url.freetype;">&url.freetype;</link></entry>
97
-
<entry>Support for FreeType 1.x has been removed as of PHP 5.3.0.</entry>
98
-
</row>
99
-
<row>
100
-
<entry><literal>FreeType 2</literal></entry>
101
-
<entry><link xlink:href="&url.freetype;">&url.freetype;</link></entry>
80
+
<entry><literal>webp</literal></entry>
81
+
<entry></entry>
102
82
<entry></entry>
103
-
</row>
104
-
<row>
105
-
<entry><literal>T1lib</literal></entry>
106
-
<entry><link xlink:href="&url.t1lib;">&url.t1lib;</link>)</entry>
107
-
<entry>
108
-
Support for Postscript Type 1 fonts (Removed as of PHP 7.0.0).
109
-
</entry>
110
83
</row>
111
84
</tbody>
112
85
</tgroup>
113
86
</table>
114
87
</para>
88
+

89
+
<para>
90
+
You may wish to enhance <acronym>GD</acronym> to deal with different fonts.
91
+
The <link xlink:href="&url.freetype;">FreeType 2</link> library is supported.
92
+
</para>
115
93
</section>
116
94
<!-- }}} -->
117
95

...
...
@@ -142,26 +120,12 @@
142
120
<row>
143
121
<entry><literal>gd</literal></entry>
144
122
<entry>Image resource, used by functions like <function>imagecreatefrompng</function></entry>
145
-
<entry></entry>
123
+
<entry>Prior to PHP 8.0.0</entry>
146
124
</row>
147
125
<row>
148
126
<entry><literal>gd font</literal></entry>
149
127
<entry>Font resource internally created by <function>imageloadfont</function></entry>
150
-
<entry></entry>
151
-
</row>
152
-
<row>
153
-
<entry><literal>gd PS font</literal></entry>
154
-
<entry>PostScript Type 1 font resource, returned by <function>imagepsloadfont</function></entry>
155
-
<entry>
156
-
Removed as of PHP 7.0.0.
157
-
</entry>
158
-
</row>
159
-
<row>
160
-
<entry><literal>gd PS encoding</literal></entry>
161
-
<entry>PostScript Type 1 encoding resource, returned by <function>imagepsencodefont</function></entry>
162
-
<entry>
163
-
Removed as of PHP 7.0.0.
164
-
</entry>
128
+
<entry>Prior to PHP 8.1.0</entry>
165
129
</row>
166
130
</tbody>
167
131
</tgroup>
168
132