UIImageEffects is a quite lightweight UIImage extension for blurring image:
UIImageEffects is based on Apple's UIImage category in sample code Blurring and Tinting an Image.
Specify "UIImageEffects" in your Cartfile
:
github "hongxinhope/UIImageEffects"
let lightEffectImage = originalImage.applyLightEffect()
let extraLightEffectImage = originalImage.applyExtraLightEffect()
let darkEffectImage = originalImage.applyDarkEffect()
let tintColorImage = originalImage.applyTintEffect(with: UIColor.cyan)
let customEffectImage = originalImage.applyBlur(radius: 30, tintColor: UIColor(white: 1, alpha: 0.3), saturationDeltaFactor: 1.5)
iOS 8.0
Have a question? Please open an issue!