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

LookupFilter for image save is not working #124

Open Mubin-khan opened 2 years ago

Mubin-khan commented 2 years ago

effect = LookupFilter() effect.lookupImage = PictureInput(image: UIImage(named: "effect1")!) effect.intensity = 1

let filteredImage = originalImage?.filterWithOperation(effect)

when i'm trying to apply lookup filter getting error "Unexpectedly found nil while unwrapping an Optional value" but in renderView for displaying image it works totally fine. could anyone help please ??