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 "$@"
do
/usr/local/bin/convert "$f" "$f.jpg"
done
- Save as "Save as JPG" Now you can, at any time, open finder, select any image, right click -> Services -> Save as JPG
I've uploaded this to my dropbox here: https://www.dropbox.com/s/4gfcj634oeg10kn/Save%20as%20JPG.workflow.zip?dl=0