0

我正在使用 GPUImage 处理本地照片,我正在使用它来初始化:

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

然后我添加过滤器,我可以在屏幕上看到它。

问题是我需要 UIImage 来保存它,但是当我打电话时:

[localImageSource imageFromCurrentlyProcessedOutput]

我什么都得不到。

请帮忙!

4

1 回答 1

7

用过滤器本身调用它显然可以解决这个问题:

[filter imageFromCurrentlyProcessedOutput];

归功于 brspurri

于 2012-10-04T21:27:40.137 回答