iOS Image Filters like instagram using Core Image
Switch branches/tags
Nothing to show
Pull request Compare This branch is 5 commits behind rbreve:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
PhotoFilters.xcodeproj
PhotoFilters
README.md

README.md

#About# A simplified UIImage category for using Core Image Filters. To accomplish vintage or double exposure effects I am using blend modes using two images.

##Vintage##

vintage

##Vignette## p1

##Double Exposure using Blend Modes## p2

##Black & White## p3

#How to use on your project#

  • Drag UIImage+Filters.h and UIImage+Filters.m to your project
  • Include the header file #import "UIImage+Filters.h"
  • Be sure to include the CoreImage.framework on your project
  • To apply a filter to an UIImage just to this

#Sample Code

UIImage* myImage  = [UIImage imageNamed:@"myphoto.jpg"];
myImage = [myImage saturateImage:0 withContrast:1.05];

#Current Filters#

- (UIImage*) saturateImage:(float)saturationAmount withContrast:(float)contrastAmount;
- (UIImage*) vignetteWithRadius:(float)inputRadius andIntensity:(float)inputIntensity;
- (UIImage*) blendMode:(NSString *)blendMode withImageNamed:(NSString *) imageName;
- (UIImage*) curveFilter;

#Blend Mode#

- (UIImage*) blendMode:(NSString *)blendMode withImageNamed:(NSString *) imageName;

Will use imageName as a background layer to blendit into your image.

Available blend modes you can use are:

  • CISoftLightBlendMode
  • CIMultiplyBlendMode
  • CISaturationBlendMode
  • CIScreenBlendMode
  • CIMultiplyCompositing
  • CIHardLightBlendMode

#Apple Documentation#

Core Image Filter Reference