Generation thin films of metal and metaloxide nanoparticles with tunable size and size distribution.