more informative exceptions for empty/not-existing images in
compare_images()
Merge pull request #2567 from megies/compare_image_exceptions

more informative exceptions for empty/not-existing images in compare_images()