FIX get_image_size() with some IM version 

FIX get_image_size() with some IM version which outputs a different format string