A Double-Mode Linear Imaging System For Ic-Compatible Microspectrometers In Visible Light