Page 1 of 1

Resolution of a bmp-file

Posted: 2010-10-19T00:21:30-07:00
by sashs
Hello,

how can i get the resolution of a bmp-file?

I tried the identify-command, but i didn't get the resolution.

Greets

sashs

Re: Resolution of a bmp-file

Posted: 2010-10-19T09:34:52-07:00
by el_supremo
Did you use the -verbose option?

Pete

Re: Resolution of a bmp-file

Posted: 2010-10-19T10:15:23-07:00
by fmw42
you can also get it using string formats (see http://www.imagemagick.org/script/escape.php)

convert image -format "%x x %y" info: