index

create: mac image conversion tip

article: Image Conversion on Mac · changes

diff --git a/src/image-conversion-on-mac.md b/src/image-conversion-on-mac.md
new file mode 100644
index 0000000..aa460ac
--- /dev/null
+++ b/src/image-conversion-on-mac.md
@@ -0,0 +1,13 @@
+So you wanna use some photos you “shot on iPhone” but your app doesn't support `.HEIC`?
+
+**jpg**
+
+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 "{}"`
+
+**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 "{}"`