Added temporary special handling of image read errors preliminary to API change to allow such errors to be distinguished