| 9月 14th, 2008

sips というコマンドを使うと、画像の編集がコマンドラインで行える。

 large.jpg という画像を thumb.jpg (幅60,高さ45)にする場合

% sips -z 45 60 large.jpg --out thumb.jpg

という感じにする。

コマンドで作ると、いちいちFinderから開くのがめんどくさいので、open コマンドで開くと便利。

% open thumb.jpg

でプレビューが立ち上がってすぐ確認出来る。

There are no comments yet, add one below.

Comments are closed.

Leave a Comment


download the hurt locker  
UA-682965-1