Hello,
I'm trying to set Adaptive Threshold filter operation on UIImage with {3490, 4320} dimensions.
And I'm getting this crash: Fatal error: Failed loading image texture: file GPUImage/PictureInput.swift, line 60
It reproduces every time.
The image :
I know It's pretty much an Edge case, but it's happening at a high rate.
Example usage of mine :
let operation = AdaptiveThreshold()
operation.blurRadiusInPixels = 20.0
image.filterWithOperation(operation)
Am I'm doing something wrong?
Also,
Why using fatalError and not returning a nil value or throwing an exception?
Hello, I'm trying to set Adaptive Threshold filter operation on UIImage with {3490, 4320} dimensions. And I'm getting this crash:
Fatal error: Failed loading image texture: file GPUImage/PictureInput.swift, line 60
It reproduces every time. The image :I know It's pretty much an Edge case, but it's happening at a high rate.
Example usage of mine :
Am I'm doing something wrong? Also, Why using
fatalError
and not returning a nil value or throwing an exception?Thank you