Tabata 0.1.1

Tabata 0.1.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jul 2019
SPMSupports SPM

Maintained by Sota Yokoe.



Tabata 0.1.1

Tabata

CI Status Version License Platform

A lightweight CIFilter wrapper for Mac apps.

Used in: Lapsodi Time-Lapse app.

Example

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.

Filters

Brightness, contrast and saturation

Tabata().brightness(brightness, saturation: saturation, andContrast: contrast)

Exposure

Tabata().exposure(0.5)

Hue

Tabata().hue(1.57)

Gaussian blur

Tabata().gaussianBlur(10)

Tilt-Shift

Tabata().tiltShift(4)

Scale

Tabata().scale(0.5)

Requirements

Installation

Tabata is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "Tabata"

Author

SotaYokoe, [email protected]

License

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