Controlling or varying light intensity, spectral composition, or exposure time in photographic printing apparatus in dependence upon automatic analysis of the original