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 :)

如果觉得我的文章对您有用,请随意打赏。如果有其他问题请联系博主QQ(909491009)或者下方留言!

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注