Gunk:
(define colour (read-sensor 'LIGHT-SENSOR))
Setup:
(simulation.define-device sim 'LIGHT-SENSOR (make-static-projected-pnm-colour-sensor "picture.ppm"))