Patterning of phase change films with microlens arrays