How to save into a picture to the local
songxiaoliang opened this issue · comments
if you mean, in context of gl-react-native v3, capture is not yet supported. see the more general issue: #93
emmm.. I used react-native-iew-shot to crop the gl-react rendering area, but it did not work. Now I need a way to get the gl-react rendered image, but I do not know what to do.
"gl-react": "^3.13.0",
"react-native-view-shot": "^2.3.0",
"gl-react-native": "^3.13.0",
react-native-view-shot
is likely not to work for capturing any GL backed view and will produce different results across platform (I think iOS support it but not Android afaik). sorry but I don't think there is a solution to capture a gl view at the moment in context of gl-react-native v3
main work is to be done on webgl implementation side (react-native-webgl / expo exgl) to provide this feature. there is nothing i can do easily on gl-react side.
@gre Is there any way to save the gl-react-native rendered image? Looking forward to the author reply
please refer to #93 for latest development on this. there is no way at the moment (that i'm aware of)
@gre any update on saving image??