Piwigo icon indicating copy to clipboard operation
Piwigo copied to clipboard

Support Imagemagick 7

Open Renarde-dev opened this issue 8 months ago • 1 comments

Imagemagick 7 introduce breaking changes :

  • convert is deprecated in favor of magick (#2366)
  • -coalesce is not implied when formating webp which break compression

webp conversion should be handle like this :

magick "input.webp" -coalesce -filter Lanczos -resize 120x120! -strip -quality 70 -interlace line -sampling-factor 4:2:2 "output.webp"

Command detection should be handled with

if ('command -v magick') {
    shell_exec('magick ....');
} else {
    shell_exec('convert ....');
}

Renarde-dev avatar May 14 '25 12:05 Renarde-dev

Branch : https://github.com/Piwigo/Piwigo/tree/issue-2367-imagemagick7

Renarde-dev avatar Jun 17 '25 07:06 Renarde-dev

branch merged

plegall avatar Aug 13 '25 15:08 plegall