made ImageReader throw exception if something goes wrong
made ImageReader throw exception if something goes wrong

juliabuhmann/imageprocessing,juliabuhmann/imageprocessing,funkey/imageprocessing,funkey/imageprocessing