Save a modified in game texture to your drive

So, I’ve been playing around, and made a camera, that can take pictures. It saves them over images in game. I’ts pretty neat; I can make the pictures print out and fall to the flooor.

Anyway, anyone know how (if possible) I could make it save the modified images to the physical drive? They’re already over-writing dedicated textures in the game. If there was a “save image” like there is in the viewport outside the game, that’s all I would need.

Thoughts?

You can write images to a big buffer, using image plot, and we can save / load with pil and bgl together