0

I'm using GPUImage for processing a local photo, I'm using this to initialize:

localImageSource = [[GPUImagePicture alloc] initWithImage:selectedImage];

Then I'm adding the filters and I can see it on the screen.

Problem is that I need UIImage to save it but when I call:

[localImageSource imageFromCurrentlyProcessedOutput]

I get nothing.

Please help!

Idan
  • 9,751
  • 8
  • 46
  • 75

1 Answers1

7

Calling that with the filter itself apparently solve this problem:

[filter imageFromCurrentlyProcessedOutput];

Credits to brspurri

Idan
  • 9,751
  • 8
  • 46
  • 75