Rotate Texture2d

I’m saving the screen into a Texture2D with ReadPixels and saving it into a file later, but the problem is that my app is in landscape and I need the photos to be on portrait mode, so basically I need to rotate the texture before saving it, and I was wondering if there is an easier way then making another Texture2d then using setPixel from one to another.

Why does it need to be portrait mode? Are you applying the texture to a plane? If so, couldn’t you just rotate the plane, making the texture look correct?