GPUImage3
GPUImage3 copied to clipboard
Failed loading image texture
I call GPUImage method from another class(Filter.swift) with completion handler.
let toonFilter = ToonFilter()
let filteredImage = image.filterWithOperation(toonFilter)
completion(filteredImage)
and I use completion handler to put on imageView but sometimes with some images it crash with this error Failed loading image texture
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.