You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: bundles/media/imagine-adapter.rst
+10-4
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,13 @@ Available adapters are:
10
10
* `imagick_extension`_
11
11
* `vips_extension`_
12
12
13
+
.. note::
14
+
15
+
You may need to install additional libraries on your operating system to support various image MIME types,
16
+
such as ``libjpeg-dev, ``libpng-dev``, ``libwebp-dev``, ``libavif-dev``.
17
+
18
+
Note that some Linux distributions, like Alpine, do not include these libraries in their base images by default.
19
+
13
20
GD
14
21
--
15
22
@@ -18,6 +25,7 @@ The simplest adapter is GD and it has no external dependencies besides the PHP e
18
25
**Docker:**
19
26
20
27
To use the GD extension, you need to install it with docker-php-ext-install. However, GD requires Linux libraries to function properly. Depending on the type of file you want to generate (such as JPG, PNG, or WebP), you also need to install the corresponding libraries.
28
+
21
29
..code-block:: bash
22
30
23
31
RUN apt-get update && apt-get install -y \
@@ -28,7 +36,6 @@ To use the GD extension, you need to install it with docker-php-ext-install. How
0 commit comments