BradLarson / GPUImage3

GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal.
BSD 3-Clause "New" or "Revised" License
2.68k stars 330 forks source link

how to use renderview render original uiimage #118

Open lotawei opened 2 years ago

Dec22gln commented 2 years ago

Picture -> RenderView ?

lotawei commented 2 years ago

Picture -> RenderView ?

RenderView use other filter input --> filter --> renderView
Is there any way to remove the filter effect and display the original image?

Dec22gln commented 2 years ago

try: 1.remove source and targets : picture.removeAllTargets() filter.removeSourceAtIndex(0) filter.removeAllTargets()

2.reset pipeline : picture --> renderView

3.process again : picture.processImage()

lotawei commented 2 years ago

thanks

发自我的iPhone

------------------ Original ------------------ From: gleeman @.> Date: Tue,Jul 13,2021 6:34 PM To: BradLarson/GPUImage3 @.> Cc: lotawei @.>, Author @.> Subject: Re: [BradLarson/GPUImage3] how to use renderview render original uiimage (#118)