Skip to content

Instantly share code, notes, and snippets.

@loadedsith
Last active January 8, 2021 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loadedsith/8c95117ad974e7e01fce640f2e364751 to your computer and use it in GitHub Desktop.
Save loadedsith/8c95117ad974e7e01fce640f2e364751 to your computer and use it in GitHub Desktop.
Save as JPG workflow instructions

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.

  1. Open Automator.app
  2. Choose to make a new "Quick Action"
  3. Workflow receives current "Image files" in "Finder.app"
  4. Add an action called "Run Shell Script"
  5. Configure action: Shell: /bin/bash, Pass input "as arguments"
  6. Paste this script
    for f in "$@"
    do
        /usr/local/bin/convert "$f" "$f.jpg"
    done
  1. Save as "Save as JPG" Now you can, at any time, open finder, select any image, right click -> Services -> Save as JPG
@loadedsith
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment