Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 906 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 906 Bytes

Carthage compatible License MIT Travis Codecov branch

PhotoFilter

CoreImage filter library provides a UIImageView extension with prebuilt image filters.

Installation

You can install PhotoFilter via Carthage. Add github "https://github.com/christiancabarrocas/PhotoFilter.git" to your Cartfile.

Usage

let imageView = UIImageView()
let imageView.image = UImage(named:"test.png")

imageView.blackAndWhite
imageView.blur(radius:3.0)
imageView.sepia(intensity:3.0)
imageView.exposure(intensity:3.0)
imageView.bloom(radius:2.0, intensity:1.0)