So, making a portrait maker. User can choose between different hair, eyes, clothing, etc options. It shows up just fine in the project as a bunch of TextureRects. However, I have no clue how to save the image. I've scaled down the textures to fit on screen so I can't just capture the viewport. Previously, I just created a new Image and then replaced all pixels that weren't transparent with the pixel from the TextureRects in succession. But that was for pixel art. If I did that with the resolution of the portraits I'm going to use for this one, I would have to iterate over 8 million times per image.
What should I do to export the images from this portrait maker? Should I use something besides Godot? If so, what?