2
2

More than 5 years have passed since last update.

Automator でスクリーンショット画像を JPEG に変換したり画質を下げてファイルサイズを減らす

Last updated at Posted at 2013-09-06

という作業をよくやりたくなるので Automator でアプリケーションとワークフローを作った。

Automator JPEG Tools
https://github.com/kyanny/automator_jpeg_tools

(※Automator アプリ/ワークフローを公開・配布して問題ないか知りたい & 配布する場合のライセンスは何が適切か知りたいので詳しい方いたら @kyanny まで教えてください)


.app のほうはファイルをドラッグ & ドロップして使う。

convert_to_jpeg_1.gif

.workflow のほうは Service として作ってあるので右クリックのコンテキストメニューから選べる。

convert_to_jpeg_2.gif


JPEG 化 + 画質を落としてファイルサイズ減らすほうは 500kb を超えてアップロードできないので GitHub でみてください。
(まさに Qiita にスクリーンショットを添付するときにファイルサイズを減らす必要があるのでこのツールを作ったのだった)

画質を落とすのは Automator 組み込みのアクションだけではできなかったので sips コマンドを使ってます。

2
2
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
2
2