Save procedural texture as PNG

Hey guys!

Is there any way I can export procedural texture from Blender into the PNG file using python? The same as if I do tex.texture.image.save_render(filename, scene) – i get the file produced out of ‘generated’ image type for example. How can I do the same with ‘WOOD’ type texture? Any thoughts?