Skip to content
UIImage category that blurs an specified frame of a UIImage
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
UIImageBlurredFrameExample
.gitignore
LICENSE
README.md
UIImage+BlurredFrame.h
UIImage+BlurredFrame.m
UIImage+BlurredFrame.podspec
UIImage+ImageEffects.h
UIImage+ImageEffects.m
demo_image.png

README.md

UIImage+BlurredFrame is a UIImage category that blurs an specified frame of a UIImage

#Install

Install with cocoapods

pod 'UIImage+BlurredFrame'

#Usage

UIImage *img = [UIImage imageNamed:@"myImage"];
CGRect frame = CGRectMake(0, img.size.height - 200, img.size.width, img.size.height - 200);
    
img = [img applyLightEffectAtFrame:frame];

UIImage-BlurredFrame demo

##Credits

UIImage+ImageEffects category taken from the 2013 wwdc developer videos 'Implementing Engaging UI on iOS'

Methods to crop and merge images from this stackoverflow answer

Author

Adrián González

You can’t perform that action at this time.