$ convert [ options ... ] input_file output_file
input_fileとoutput_fileに同じ名前を指定すると,もとの画像ファイルに,optionsで指定した効果が適用されます.
$ convert -transparent white foo.png foo-out.png
$ convert -gamma 1.7/2.3/1.2 foo.png foo-out.png
$ identify file [ file ... ]
$ identify -verbose FILE | grep Geometry | awk '{print $2}'