Latest 0.2.2
License MIT
Platforms ios 6.0, requires ARC
Frameworks CoreGraphics, UIKit, Accelerate

LBBlurredImage is an UIImageView category that permit to set an image and make this blurred.

Here are an example of what you can achieve:


Copy file

This code must be used with deploy target 6.0+ and under ARC.
If your code doesn’t use ARC you can mark this source with the compiler flag -fobjc-arc

  • Just grab the two file named UIImageView+LBBlurredImage.{h,m} and UIImageImage+ImageEffects.{h,m} in the Additions group into your project and link with Accelerate.framework .
  • #import "UIImageView+LBBlurredImage.h" where you need it.


You can use CocoaPods to manage your dependencies and install LBBlurredImage.
Follow the instructions on the CocoaPods site to install the gem and add pod 'LBBlurredImage' to your Podfile.


[self.imageView setImageToBlur:[UIImage imageNamed:@"example"]
                   NSLog(@"The blurred image has been set");

The generation of the blurred image is made on a background thread, for this reason a completion block is provided. The completionBlock is dispatched on the main thread when the image has been generated and set to the UIImageView.

The code is provided with an example project if you want to see the class in actions.


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

Latest podspec

    "name": "LBBlurredImage",
    "version": "0.2.2",
    "summary": "LBBlurredImage is an UIImageView category that allow to set an image and make this blurred.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Luca Bernardi": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.2.2"
    "platforms": {
        "ios": "6.0"
    "source_files": [
    "public_header_files": "LBBlurredImage/UIImageView*.{h,m}",
    "frameworks": [
    "requires_arc": true

Pin It on Pinterest

Share This