Latest 0.0.8
Homepage https://github.com/yokoe/tabata
License MIT
Platforms osx 10.10
Frameworks Cocoa
Authors

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.

Latest podspec

{
    "name": "Tabata",
    "version": "0.0.8",
    "summary": "A lightweight CIFilter wrapper for Mac apps.",
    "description": "A lightweight CIFilter wrapper for Mac apps written in Swift.nAutomatically skips filters which have no effect in specified params.",
    "homepage": "https://github.com/yokoe/tabata",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "SotaYokoe": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yokoe/tabata.git",
        "tag": "0.0.8"
    },
    "social_media_url": "https://twitter.com/kreuz45",
    "platforms": {
        "osx": "10.10"
    },
    "source_files": "Tabata/Classes/*.swift",
    "frameworks": "Cocoa",
    "xcconfig": {
        "SWIFT_VERSION": "3"
    }
}

Pin It on Pinterest

Share This