article: Image Conversion on Mac · changes
diff --git a/src/image-conversion-on-mac.md b/src/image-conversion-on-mac.md index aa460ac..b4bcb10 100644 --- a/src/image-conversion-on-mac.md +++ b/src/image-conversion-on-mac.md @@ -4,10 +4,14 @@ So you wanna use some photos you “shot on iPhone” but your app doesn't suppo fast, lossy, smaller files -`find . -maxdepth 1 -type f -iname '*.heic' -print0 | xargs -0 -I{} sh -c 'sips -s format jpeg "$1" --out "${1%.*}.jpg"' sh "{}"` +```sh copy +find . -maxdepth 1 -type f -iname '*.heic' -print0 | xargs -0 -I{} sh -c 'sips -s format jpeg "$1" --out "${1%.*}.jpg"' sh "{}" +``` **png** slow, lossless, larger files -`find . -maxdepth 1 -type f -iname '*.heic' -print0 | xargs -0 -I{} sh -c 'sips -s format png "$1" --out "${1%.*}.png"' sh "{}"` +```sh copy +find . -maxdepth 1 -type f -iname '*.heic' -print0 | xargs -0 -I{} sh -c 'sips -s format png "$1" --out "${1%.*}.png"' sh "{}" +```