Text this: Optical imaging and spectroscopy