Public bug reported: The version of ImageMagick included in Ubuntu 24.04 (6.9.12-98) has a bug that bypasses the "-quality" parameter for WebP output: https://github.com/ImageMagick/ImageMagick6/issues/287 The result is either bloated file sizes for those desiring a lower quality than the default, or lower quality for those who want it higher than the default.
This also affects anyone using ImageMagick via the PHP Imagick extension to convert images to WebP or resize/edit WebP images. It also thus extends to thousands (maybe millions, but I wouldn't presume that much) of WordPress sites running on Ubuntu 24.04, which is where I discovered the issue. The quality parameter for WebP was broken in this commit included in version 6.9.12-84: https://github.com/ImageMagick/ImageMagick6/commit/a0bd1722c7e79c81b68418cafed904df673c3f34 It is a single line of code that went missing, and has a fix that was included in ImageMagick 6.9.13-1: https://github.com/ImageMagick/ImageMagick6/commit/8f269831a20dddf992b3b9b787e3105f6272e573 This affects at least imagemagick-6.q16 version 8:6.9.12.98+dfsg1-5.2build2, but I think also affects libmagickcore-6.q16-7t64 and libmagickwand-6.q16-7t64, which are used by PHP. I didn't have imagemagick-6.q16 even installed until I was attempting to determine whether the bug was in the Imagick extension or in ImageMagick itself. ** Affects: imagemagick (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2098541 Title: regression causes webp quality to be ignored To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/2098541/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
