Open emresancaktar opened 4 years ago
Having the same issue too. Any fix?
let resultlookupFilter = LookupFilter()
resultlookupFilter.lookupImage = PictureInput(image: lutImage)
resultlookupFilter.intensity = filterModel.userSetIntensity
let resultImg = self.originalImage.filterWithOperation(resultlookupFilter)
it will be crash.
Maybe I should use GPUImage1.
In my case, the problem was specifically when applying the filters in some large PNG images. One workaround could be convert them to Jpeg, or resize it to smaller sizes if you wanna keep using PNG.
I call GPUImage method from another class(Filter.swift) with completion handler.
and I use completion handler to put on imageView but sometimes with some images it crash with this error Failed loading image texture