Project

General

Profile

Actions

Defect #40832

open

Deprecation warning regarding the use of the convert command in ImageMagick 7

Added by Go MAEDA over 1 year ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Attachments
Target version:
-
Resolution:
Affected version:

Description

When running Redmine with ImageMagick 7, a deprecation warning is displayed indicating that the convert command is deprecated and should be replaced with the magick command.

To reproduce the issue, execute the following statement in the Rails console:

irb(main):001> Redmine::Thumbnail.convert_available?
WARNING: The convert command is deprecated in IMv7, use "magick" 

=> true

Files

use-magick-command-for-imagemagick7.patch (688 Bytes) use-magick-command-for-imagemagick7.patch [Agileware]Shun(ji) Nishitani, 2025-12-19 12:12

Related issues

Related to Redmine - Patch #40849: Update MiniMagick to 4.13ClosedGo MAEDAActions
Actions #1

Updated by Go MAEDA over 1 year ago

MiniMagick 4.13.0 includes a fix for the deprecation warning.
Updating MiniMagick reduces the deprecation warnings during the test.
https://github.com/minimagick/minimagick/issues/560

Actions #2

Updated by Go MAEDA over 1 year ago

Actions #3

Updated by [Agileware]Shun(ji) Nishitani about 2 months ago

This patch will fix the issue.
However, since this runs a shell command during constant initialization at Rails boot time, I'd like to discuss a better approach based on this.

Actions

Also available in: Atom PDF