multiple extension for readimage