-
Notifications
You must be signed in to change notification settings - Fork 493
Open
Description
When filtering an image, instead of a live stream, I'm getting nil. Any ideas on what could be happening? Here's the code:
GPUImagePicture *stillImageSource = [[GPUImagePicture alloc] initWithImage:img];
GPUImageBeautifyFilter * filter = [[GPUImageBeautifyFilter alloc] init];
[stillImageSource addTarget:filter];
[filter useNextFrameForImageCapture];
[stillImageSource processImage];
UIImage * result = [filter imageFromCurrentFramebuffer]; // nil
I've also tried using [filter imageByFilteringImage:img], but it's the same.
Metadata
Metadata
Assignees
Labels
No labels