如何使用GPUImage使用应用过滤器捕获图像?作为参考,下面是我要求获取图像的代码:
func countdownFinished(_ view: LUCountdownView!) {
let pictureOutput = PictureOutput()
pictureOutput.keepImageAroundForSynchronousCapture = true
pictureOutput.encodedImageFormat = .png
pictureOutput.synchronousImageCapture()
}