Prefer 'magick' command to 'convert', if available

ImageMagick version 7 provides command 'magick' (as well as legacy 'convert'), is readily available on Windows but is not, currently, readily available on Ubuntu.

On Windows, the name of ImageMagick's `convert` utility clashes with Microsoft's `C:\Windows\System32\convert.exe` utility. Using `magick`, if available, avoids the conflict.

For clarity and to be command name-agnostic, the raster option name is changed from 'convert' (the command) to 'imagemagick' (the name of the software).

For consistency with the version 7 command name, references in the code to 'convert' are changed to 'magick', throughout.
This commit is contained in:
Mike Pilgrem 2020-07-05 16:14:19 +01:00 committed by David Himmelstrup
commit 4b338de094
8 changed files with 49 additions and 27 deletions

View file

@ -105,6 +105,7 @@ library
Reanimate.Driver
Reanimate.Driver.Check
Reanimate.Driver.CLI
Reanimate.Driver.Magick
Reanimate.Driver.Server
Reanimate.Driver.Compile
Paths_reanimate