[CentOS] command to echo size of images

Cian Cullinan cian.cullinan at gmail.com
Wed Jun 21 13:57:07 UTC 2006


On 6/21/06, Jerry Geis <geisj at pagestation.com> wrote:
>
>  All,
>
>  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.
>  I see xview image.jpg reports the correct size but I dont want to see the
> image just get its size.
>

"identify" from the ImageMagick package will do the trick.



More information about the CentOS mailing list