#106004Add image processing tests for webp and avif with transparency
Description
I’ve tried to output pngs as avif and noticed that the transparency was replaced with a black background.
Two new tests are added to image processing tests in the install tool to test the transparency behaviour easily:
- png to webp
- png to avif
clipboard-202501282013-ykd7y.png
Black Backgrounds should be fixed with ImageMagick 6.9.12-68 as of this source: https://alexwlchan.net/2023/check-for-transparency/
My ddev has an old ImageMagick 6.9.11-60 Version.
clipboard-202501282015-p7psd.png
Reviews 2
Files 4
History 35
-
André Buchmann commented and changed attached clipboard-202501290847-8pkhd.png attached clipboard-202501290848-gqw9m.png <span data-processor="relativetime" data-value="2025-01-29T07:56:49+00:00" > 01/29/25, 07:56 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 87924 status
NewUnder Review <span data-processor="relativetime" data-value="2025-01-29T09:32:19+00:00" > 01/29/25, 09:32 </span> -
Gerrit Code Review pushed patch set 1 for 13.4 to change 87967 <span data-processor="relativetime" data-value="2025-01-31T14:53:18+00:00" > 01/31/25, 14:53 </span>
-
André Buchmann commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-01-31T16:00:09+00:00" > 01/31/25, 16:00 </span>Applied in changeset commit:c42d9742ae7e4feeb7548ccacc07d5f763cf98e0.
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:27:34+00:00" > 12/02/25, 14:27 </span>
After upgrading Imagemagick in my ddev container, the transparency is preserved for AVIF.
How to install Imagemagick 7 in ddev: https://github.com/ddev/ddev/issues/5332#issuecomment-2620893309
clipboard-202501290848-gqw9m.png
clipboard-202501290847-8pkhd.png