Laser-assisted photothermal imprinting of nanocomposite