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
Resolution of a bmp-file
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: Resolution of a bmp-file
Did you use the -verbose option?
Pete
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
See my message in this topic for a link to a zip of all the files.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Resolution of a bmp-file
you can also get it using string formats (see http://www.imagemagick.org/script/escape.php)
convert image -format "%x x %y" info:
convert image -format "%x x %y" info: