Skip to content

Fallback to convert if magick is unavailable#424

Merged
SebTM merged 1 commit intobetterlockscreen:nextfrom
habeebweeb:magick_convert_compat
Jun 28, 2024
Merged

Fallback to convert if magick is unavailable#424
SebTM merged 1 commit intobetterlockscreen:nextfrom
habeebweeb:magick_convert_compat

Conversation

@habeebweeb
Copy link
Contributor

Description

I added variables for both convert and composite command that both use the magick utility if it's available but then falls back to the commands themselves.

Fixes #422 (comment)

How Has This Been Tested?

My system has ImageMagick 7 installed and also includes convert -> magick and composite -> magick symlinks so I just renamed the magick binary to something else and re-linked the symlinks to those to check. I then regenerated all the effects.

Checklist:

  • I have performed a self-review of my own code/checked that ShellCheck succeeds
  • I have made corresponding changes to the documentation (if applicable)

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