- Home /
Save RawImage texture to file
Is it possible to save the texture assigned to a RawImage to a file? Note, this is not a texture2D and actually a rendertexture. Note also that RenderTexture.active will not work for this case, so please provide a new solution than what can already be found online.
Have you looked into using texture.GetNativeTexturePtr(); to retrieve it from memory, and then using a stream to save it?
Otherwise I would say actually look into saving a picture from the camera, like a screen shot.
Your answer
Follow this Question
Related Questions
Saving a rendertexture to png or getting bytes 0 Answers
How to update texture during runtime to display damage? 0 Answers
How to render html text in new UI system (unity 4.6) 0 Answers
Weird Image Flickering Behavior on UI Canvas When Using RT Material 1 Answer
Setting cubemap faces as rendertexture 0 Answers