added generic image reader spi