The precursor approach to patterned fluorescence images in polymer films