3

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()
}
Sumit singh
  • 2,189
  • 1
  • 13
  • 29

0 Answers0