Better error when the image is invalid
0.9.3