[Nottingham] Image list

Haber Mike Mike.Haber at nottingham.ac.uk
Fri Dec 1 11:55:12 GMT 2006


Imagemagick has a command line tool called identify. Running this gives:
$identify /var/www/images/yourunion.gif
/var/www/images/yourunion.gif GIF 761x87 761x87+0+0 PseudoClass 128c
28kb 0.000u 0:01

Would this work?

> -----Original Message-----
> From: nottingham-bounces at mailman.lug.org.uk 
> [mailto:nottingham-bounces at mailman.lug.org.uk] On Behalf Of 
> Robert Ross
> Sent: 01 December 2006 11:41
> To: nottingham at mailman.lug.org.uk
> Subject: [Nottingham] Image list
> Hi everyone,
> Have a little problemette :-)  
> I have a folder of 600+ images and I want details of their 
> names / file size / height x width.  I can obviously get the 
> first two via the bash ls -l command, but how to I get the 
> height x width information (I can't even get it in Konqueror 
> - except one image at a time - and I really need a list)?  It 
> would be nice if I could also put these details into a 
> database (flat or relational).
> Any help appreciated,
> Robb
> _______________________________________________
> Nottingham mailing list
> Nottingham at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/nottingham

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

More information about the Nottingham mailing list