From 289ec85be338c6c9085497820f53f57ee714b9b7 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 26 Jun 2026 22:04:42 +0200 Subject: Fix ImageMagick 7: use 'magick' instead of deprecated 'convert' --- app/models/concerns/file_attachment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/concerns/file_attachment.rb b/app/models/concerns/file_attachment.rb index b3ff0f1..5483de5 100644 --- a/app/models/concerns/file_attachment.rb +++ b/app/models/concerns/file_attachment.rb @@ -73,7 +73,7 @@ module FileAttachment STYLES.each do |style, options| dest_path = file_path(style) FileUtils.mkdir_p(File.dirname(dest_path)) - system("convert", original_path, "-resize", options[:geometry], dest_path) + system("magick", original_path, "-resize", options[:geometry], dest_path) end end -- cgit v1.3