How to capture image and record video using GPUImage 2?

507 Views Asked by At

How to capture image with applied filter using GPUImage? For reference, below is the code which I am calling for get image:

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

There are 0 best solutions below