Use command 'identify' (if supported) to get the size of a local image

* For large files the amount of time needed is considerably lower
* Command 'identify' is provided by ImageMagick