How to export material textures as image file i?

I want to export the texture of rendered 3d objects as image file. like this https://autonomousvision.github.io/assets/posts/2019-10-24-texture-fields/reps.png
thanks for reading my questiom