diff options
Diffstat (limited to 'posts/heif.md')
-rw-r--r-- | posts/heif.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/posts/heif.md b/posts/heif.md index f0d645a..32a8166 100644 --- a/posts/heif.md +++ b/posts/heif.md @@ -24,12 +24,12 @@ For this example script we are going to convert the image to JPG format. You can 7. Set the area "Pass input" to `as arguments` 8. Enter the following code below as your script and type `⌘-S` to save (name it something like "Convert HEIC/HEIF to JPG") -``` +~~~sh for f in "$@" do /opt/homebrew/bin/heif-convert "$f" "${f%.*}.jpg" done -``` +~~~ ## Making Edits |