How to check that image sizes are ok or not
- by Goran
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?