AFNetworking 2.0 Serialization Module to apple Core Image Filters to Images
Objective-C Ruby
Latest commit e9e0672 Mar 17, 2014 @mattt mattt Initial Commit
Permalink
Failed to load latest commit information.
AFCoreImageResponseSerializer
AFNetworking @ d103c94
.gitmodules
AFCoreImageResponseSerializer.podspec
LICENSE
README.md

README.md

AFCoreImageResponseSerializer

AFCoreImageResponseSerializer automatically applies a series of Core Image filters to response images.

Usage

#import <CoreImage/CoreImage.h>
#import "AFCoreImageResponseSerializer.h"
#import "UIImageView+AFNetworking"

CIFilter *blackAndWhiteFilter = [CIFilter filterWithName:@"CIColorControls" keysAndValues:@"inputBrightness", @(0.0), @"inputContrast", @(1.1), @"inputSaturation", @(0.0), nil];
self.imageView.imageResponseSerializer = [AFCoreImageResponseSerializer serializerWithFilters:@[blackAndWhiteFilter]];
[self.imageView setImageWithURL:[NSURL URLWithString:@"http://example.com/image.png"]];

Contact

Mattt Thompson

License

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