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,398
  • 1
  • 15
  • 30
  • What do you mean by 'click image and record video'? – jhd Oct 31 '17 at 11:03
  • @季亨达 i meant how to capture image and video – Sumit singh Oct 31 '17 at 12:48
  • https://github.com/BradLarson/GPUImage this demo is not working for you?if working then what error you are getting. – BHAVIK Nov 01 '17 at 06:02
  • @BHAVIKPANCHAL i think you didn't read my question Properly , i want to capture image, but using to swift library of GPUimage , for reference you can check this URL https://github.com/BradLarson/GPUImage2 – Sumit singh Nov 01 '17 at 09:30

0 Answers0