A direct laser writing method for designing metallic nanograined thin films is presented. This method takes advantage of photon conversion within a chemical process localized at the focal point. A computer controlled positioning system allows the control of experimental parameters and spatial resolution of the pattern. Spectroscopic investigations reveal variable attenuation of the optical properties in UV-visible range and a spectral imaging processing algorithm simulated the functionality of these films in visible light. This could be an important step for obtaining neutral density attenuators.