-1

I am using GLImageProcessing sample code.I want to save modified image in photo album how it possible.please help me.

jecob
  • 245
  • 1
  • 3
  • 5

1 Answers1

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