From: Bjørn Erik Pedersen Date: Wed, 17 Dec 2025 08:41:25 +0000 (+0100) Subject: images: Add a webp test with bg color X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=573ecb530fac57b6e885061e02738221e7738cbf;p=brevno-suite%2Fhugo images: Add a webp test with bg color --- diff --git a/resources/images/images_golden_integration_test.go b/resources/images/images_golden_integration_test.go index 96cdd2f79..ff2c3d207 100644 --- a/resources/images/images_golden_integration_test.go +++ b/resources/images/images_golden_integration_test.go @@ -378,6 +378,7 @@ Home. {{/* These are sorted. The end file name will be created from the spec + extension, so make sure these are unique. */}} {{ template "process" (dict "spec" "crop 300x300 gif" "img" $animWebp) }} {{ template "process" (dict "spec" "crop 300x300 smart" "img" $fuzzyCircle) }} + {{ template "process" (dict "spec" "crop 300x300 smart #ff9999" "img" $fuzzyCircle) }} {{ template "process" (dict "spec" "crop 300x300" "img" $animWebp) }} {{ template "process" (dict "spec" "crop 500x200 smart webp" "img" $sunset) }} {{ template "process" (dict "spec" "crop 500x200 smart webp" "img" $sunset) }} diff --git a/resources/images/testdata/images_golden/process/webp/crop-300x300-smart-ff9999.png b/resources/images/testdata/images_golden/process/webp/crop-300x300-smart-ff9999.png new file mode 100644 index 000000000..32c1121b3 Binary files /dev/null and b/resources/images/testdata/images_golden/process/webp/crop-300x300-smart-ff9999.png differ