From 04887ba0ad6551290c5aed8d3020027d6746778b Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Mon, 27 Oct 2025 22:31:49 -0700 Subject: [PATCH] feat: add support for webp in imagick --- Dockerfile | 1 + tests.yaml | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 76d9d49..92b817b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -202,6 +202,7 @@ RUN \ libjxl-dev \ libavif \ libheif \ + libwebp \ imagemagick-heic \ zlib-dev \ libpng-dev \ diff --git a/tests.yaml b/tests.yaml index 4652dfb..b68e42d 100644 --- a/tests.yaml +++ b/tests.yaml @@ -17,7 +17,7 @@ commandTests: command: "docker" args: ["--version"] expectedOutput: ["Docker version 28.*"] - - name: 'PHP info' + - name: 'PHP modules' command: "php" args: ["-m"] expectedOutput: @@ -71,6 +71,11 @@ commandTests: - yaml - zlib - zstd + - name: 'ImageMagick supported formats' + command: "php" + args: ["-i"] + expectedOutput: + - "ImageMagick supported formats .*WEBP.*" - name: 'PHP intl' command: "php" args: ["-r", 'print(\Normalizer::FORM_D);']