Use Imagemagick (Homebrew Package) to Convert Image(s) File Extension

Howdy folks, I've been trying to learn some how to work with shell scripts lately, so I've been making great use of Homebrew packages to make some basic macros.

My latest one (although in reality it was one of the first Homebrew packages I installed and used) uses Imagemagick to convert one or more image file(s') extension.

Attached is a screen recording of it in action.

While the macro works quite well for me (and why I posted it here, and not in the Questions and Suggestions category), I'm still interested in everybody's thoughts and ideas if this macro can be improved. Thanks in advance, and if this macro proves useful to anybody else then enjoy!

NOTE: This macro has special requirements to run

This macro makes use of the following KM version 10 action(s):
Position next engine window
If you are running a previous version of KM, simply disable or remove said action(s).

This macro requires Homebrew to be installed. Click the link for more info.

This macro requires Imagemagick (a Homebrew package) to be installed. Click the link for more info.

This macro requires the end-user to set a ENV_PATH variable (or specify the path in the shell script). Click the link for more info.

CURRENT VERSION: 1.1 (Wednesday, January 26, 2022)
Changed original file option to checkbox instead of dropdown.

image ext conversion macro

02)[AS-F] Images- convert extension.kmmacros (24 KB)

Macro screenshot (click to expand/collapse)

3 Likes