Convert cr2 photo to jgp in MacOS

作者: shaneZhang 分类: 互联网技术 发布时间: 2021-10-12 18:45

No need for slow and heavy Photoshop scripts for this one, you can do easily do this right from your terminal window.

This is possible using “sips”, an image editing tool already available on Mac which allows you to do all sorts of image manipulation, including resizing and converting.

  • So we first grab all RAW files in a folder,
  • We convert them to jpeg (or any other format),
  • And we output them somewhere else.
for i in *.CR2; do sips -s format jpeg $i --out "${i%.*}.jpg"; done

So you now can save some space in your card by skipping the RAW + JPG option :)

本页面支持繁体中文友好显示:Convert cr2 photo to jgp in MacOS