3

如何使用 GPUImage 捕获应用过滤器的图像?作为参考,下面是我要求获取图像的代码:

func countdownFinished(_ view: LUCountdownView!) {
    let pictureOutput = PictureOutput()
    pictureOutput.keepImageAroundForSynchronousCapture = true
    pictureOutput.encodedImageFormat = .png
    pictureOutput.synchronousImageCapture()
}
4

0 回答 0