1
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MacでHEICファイルを一斉変換

1
Last updated at Posted at 2020-07-29

iPhoneから写真を共有してもらった時にHEICファイルだとまだ取り回しが悪いのでjpegへ変換する。一個くらいならプレビューでjpegエクスポートでもいいけど面倒なので一斉変換。

for f in *.HEIC ; do sips --setProperty format jpeg $f --out `basename -s .HEIC $f`.jpg; done

sips知らなかった...
jpegのサイズをもう少し下げたい場合はsipsのoptionでlow指定する。これで十分。

for f in *.HEIC ; do sips -s format jpeg -s formatOptions low $f --out `basename -s .HEIC $f`.jpg; done
1
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?