[CentOS] command to echo size of images

Wed Jun 21 13:55:35 UTC 2006
Ralph Angenendt <ra+centos at br-online.de>

Jerry Geis wrote:
>    Is there a command line program in centos to echo back the size of an image
>    (gif,jpg,png)?
>    I did see that file image.jpg sometimes works but reports the wrong image
>    size.

[angenenr at shutdown bilder]$identify bier.png
bier.png PNG 1280x1024 DirectClass 1.3mb 0.120u 0:01

identify is in ImageMagick ...

Ralph
-- 
Ralph Angenendt......ra at br-online.de | .."Text processing has made it possible
Bayerischer Rundfunk...80300 München | ....to right-justify any idea, even one
Programmbereich.Bayern 3, Jugend und | .which cannot be justified on any other
Multimedia.........Tl:089.5900.16023 | ..........grounds." -- J. Finnegan, USC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20060621/ce8a3ed4/attachment-0005.sig>