How to check that image sizes are ok or not
Posted
by
Goran
on Super User
See other posts from Super User
or by Goran
Published on 2012-09-18T04:29:45Z
Indexed on
2012/09/18
9:40 UTC
Read the original article
Hit count: 322
I am having many image files in one folder. Mostly there are jpg, but some png, bmp, gif, tif also (but jpg is most important if others are not possible). There are also many xml files in same folder with same names as image files are having. So there is something like this: 1.jpg, 1.xml, a.png, a.xml, 3g.bmp, 3g.xml...
All xml files are having only 1 line: <IMGRES WIDTH="1234" HEIGHT="567" />
(of course numbers are not same).
I am looking for some easy way to check all image sizes and confirm if they are same as in xml or not. So I want output like:
imagename, xmlwidth x xmlheight, realwidth x realheight, match/error
Is this possible in only Windows with no other software installed?
© Super User or respective owner