More complex but a faster way of getting image file dimensions using spotlight.