command to echo size of images
- From: "Jim Perrin" <jperrin (at) gmail.com>
- Date: Fri, 23 Jun 2006 14:13:02 -0400
On 6/23/06, Kanwar Ranbir Sandhu <m3freak (at) rogers.com> wrote:
On Wed, 2006-21-06 at 09:52 -0400, 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.
> I see xview image.jpg reports the correct size but I dont want to see
> the image just get its size.
No need to install ImageMagick, unless of course you want the extra
features ImageMagick provides.
You mean like accurate file information? :-P
According to the above email you quoted, file occasionally throws him
bad information. I'm not sure why exactly that is, but 'identify' from
ImageMagick is the right wrench for pounding in this screw.
--
This message has been double ROT13 encoded for security. Anyone other
than the intended recipient attempting to decode this message will be
in violation of the DMCA
_______________________________________________
CentOS mailing list
CentOS (at) centos.org
http://lists.centos.org/mailman/listinfo/centos