We report the use of a twisted nematic liquid-crystal spatial light modulator (TNLC-SLM) for quantitative phase imaging. The experimental setup is a new implementation of the SLIM principle, which is a phase shifting, white light method for quantitative phase imaging. The approach is based on switching between the phase and amplitude modulation modes of the SLM. Our system is able to deliver a ...