Image scanning using stationary optical elements