Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

IOS UIImage processing functions using the vDSP/Accellerate framework for speed.

branch: master

Merge pull request #8 from flambert/retina-fix

Call initWithCGImage:scale:orientation: so output image has the correct scale and orientation
latest commit 5abd3e1992
gdawg authored
Octocat-spinner-32 image-dsp.xcodeproj Fix warnings June 06, 2012
Octocat-spinner-32 image-dsp Merge pull request #8 from flambert/retina-fix January 29, 2013
Octocat-spinner-32 LICENSE update to Apache v2 license for better sharingz. May 21, 2012
Octocat-spinner-32 README update readme, uppercase DSP in files. May 19, 2011
README
UIImage Image Processing extensions using the vDSP/Accelerate framework. 

Fast Image Blur/Sharpen/Emboss/Matrix operations for UIImage. 

REQUIRES IOS 4.0 and The Accelerate framework.

I was in desperate need of a fast blur operation for UIImages and the OpenGL 
solutions I've seen are a little complicated for my needs, these aren't quite 
as fast but are potentially very powerful and still quite fast relative to 
hand coding loops. 

Usage:
- Ensure your project is set with a base and deployment target > 4.0
- Include the Accelerate Framework in your project
- Copy the UIImage+DSP.h and UIImage+DSP.m classes into your project
- In any class where you wish to use the functions import UIImage+DSP.h
- Call the imageByApplying... methods, these return an auto-released UIImage.

blur example:
 UIImage* src = [UIImage imageNamed:@"image.png"];
 UIImage* blurred = [src imageByApplyingGaussianBlur3x3];


Please feel free to send any bugfixes/pull requests on if you've got something good!
Something went wrong with that request. Please try again.