I've been encountering more and more .heic and .webp files lately. It's great, these formats have significant advantages... And yet, some times you just want a JPG. I've come up with a pretty good solve. It presumes that you have imageMagick installed.
- Open Automator.app
- Choose to make a new "Quick Action"
- Workflow receives current "Image files" in "Finder.app"
- Add an action called "Run Shell Script"
- Configure action: Shell: /bin/bash, Pass input "as arguments"
- Paste this script
for f in "$@"