Skip to content

Fix ImageMagick 7+ warning (command 'convert' is deprecated)#196

Open
Jerry-Terrasse wants to merge 1 commit into
meskarune:masterfrom
Jerry-Terrasse:master
Open

Fix ImageMagick 7+ warning (command 'convert' is deprecated)#196
Jerry-Terrasse wants to merge 1 commit into
meskarune:masterfrom
Jerry-Terrasse:master

Conversation

@Jerry-Terrasse

Copy link
Copy Markdown

Reason

When using ImageMagick newer than 7.0, it give a WARNING: The convert command is deprecated in IMv7, use "magick", which means we should to use magick instead of convert.

Change

The script now dynamically checks for the presence of the magick command. If detected, it sets a variable to use magick instead of convert. This approach ensures compatibility with both newer and older versions of ImageMagick, eliminating deprecation warnings and maintaining functionality across different system setups.

@X3MBoy

X3MBoy commented May 1, 2026

Copy link
Copy Markdown

I've added this PR to my fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants