Python script for Alfred to convert webp, heic to jpeg
installed ffmpeg and located in /usr/local/bin/ffmpeg intsalled python3 installed magick
Run through /bin/bash and '/usr/bin/python3 /Users/rvnikita/dev/webp2jpeg/2jpeg.py $1' command where if the full path to 2jpeg.py script
File Action → Run Script
Script to iterate through several files
for f in "$@"
do
/usr/local/bin/python3 /Users/rvnikita/dev/webp2jpeg/2jpeg.py "$f"
>&2 echo "$f"
done
In OSX finder press option + command + \