Support Drupal 11.2 core's 'Convert to AVIF' image effect

Created on 2 July 2025, 24 days ago

Problem/Motivation

When applying 'Convert to AVIF' image effect on an image style, you get these errors when Drupal tries to apply the image style to an image (sorry, its in Dutch straight form my logs):
De afbeeldings-toolkit 'imagick' kon de actie 'convert' voor afbeelding 'public://uploads/28P_7.jpg' niet uitvoeren. Foutmelding: InvalidArgumentException - Argument 'format' expected by plugin 'imagick_convert' but not passed
Omzetten van afbeelding op public://uploads/28P_7.jpg (image/jpeg) met de imagick toolkit is mislukt.
If you just use the GD image toolkit you do not have these problems

Steps to reproduce

- use imagick module
- use D11.2
- add 'Convert to AVIF' image effect on an image style

Feature request
Status

Active

Version

1.12

Component

Code

Created by

🇧🇪Belgium flyke

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024