I am using GLImageProcessing sample code.I want to save modified image in photo album how it possible.please help me.
Asked
Active
Viewed 2,712 times
1 Answers
1
See this answer to this question for how to use glReadPixels() to extract the image from OpenGL ES within a CAEAGLLayer into a UIImage that you can store in the photos library using UIImageWriteToSavedPhotosAlbum(). The standard approach of using -renderInContext: to generate a UIImage from a CALayer does not work for OpenGL ES content.

Community
- 1
- 1

Brad Larson
- 170,088
- 45
- 397
- 571