ことえりブログ
2017-07-24
identifyコマンドを使う。具体的には次の通り。
% identify -format "%w x %h" 画像ファイル名 550 x 850
formatオプションで表示内容を制御できる。