A lightweight CIFilter wrapper for Mac apps.
Used in: Lapsodi Time-Lapse app.
To run the example project, clone the repo, and run pod install
from the Example directory first.
let sourceImage = NSImage(...)
let image = Tabata()
.brightness(brightness, saturation: saturation, andContrast: contrast)
.hue(hue)
.process(image: sourceImage) # returns NSImage.
Tabata().brightness(brightness, saturation: saturation, andContrast: contrast)
Tabata().exposure(0.5)
Tabata().hue(1.57)
Tabata().gaussianBlur(10)
Tabata().tiltShift(4)
Tabata().scale(0.5)
Tabata is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Tabata"
SotaYokoe, info@kreuz45.com
Tabata is available under the MIT license. See the LICENSE file for more info.