How to generate image of perlin noise?

Is there way to generate image of perlin noise and use it as roughness map for material?