Latest 1.0
Homepage https://github.com/Ovrchk/OVImageBlurringEngine
License MIT
Platforms ios 8.0
Authors

UIImage blurring tool that you will love ❤️

Features:

  • ⚡️ Fast
  • 😎 Non-deadlocking
  • ✌️ Operations are cancelable
  • ⚙️ Using Apple’s CIFilter under the hood
  • 🙏 Works with PinRemoteImage using our extension

Demo GIF

Usage

override func viewDidLoad() {
    super.viewDidLoad()

    let imageView = UIImageView.init(frame: self.view.bounds)
    imageView.contentMode = .scaleAspectFit
    imageView.image = UIImage.init(named: "InputImage")!
    self.view.addSubview(imageView)

    OVImageBlurringEngine.makeImageBlurred(image: imageView.image!, radius: 5) { (result) in
        imageView.image = result
    }
}

You also can cancel any blurring operation if you wish (for example when you reusing UITableViewCell):

let operationID = OVImageBlurringEngine.makeImageBlurred(image: image, radius: 5) { (result) in
    //handle result
}

//some time later

OVImageBlurringEngine.cancelImageOperation(withID: operationID)

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

OVImageBlurringEngine is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'OVImageBlurringEngine'

Author

Ovrchk, [email protected]

License

OVImageBlurringEngine is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "OVImageBlurringEngine",
    "version": "1.0",
    "summary": "UIImage blurring engine",
    "description": "OVImageBlurringEngine provides fast and non-deadlocking image blurring toolkit using Apple's CIFilter under the hood",
    "homepage": "https://github.com/Ovrchk/OVImageBlurringEngine",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Ovrchk": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Ovrchk/OVImageBlurringEngine.git",
        "tag": "1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "OVImageBlurringEngine/Classes/**/*"
}

Pin It on Pinterest

Share This