How to apply black and white effect to a color video in iOS

前端 未结 3 1199
盖世英雄少女心
盖世英雄少女心 2020-12-11 02:43

In my application I have a color video which I want to make as black and white video. Is there any framework that supports this in iOS? If so, how to implement that effect o

3条回答
  •  感动是毒
    2020-12-11 03:10

    See the opensource Framework named: GPUImage https://github.com/BradLarson/GPUImage/
    The filter name GPUImageGrayscaleFilter is what you want
    This framework included the sample code, so you can learn how to use GPUImageGrayscaleFilter in your apps easily

提交回复
热议问题