Swiftpack.co - EthanLipnik/Blackbird as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by EthanLipnik.
EthanLipnik/Blackbird v0.8.1
Core Image Made Easy
⭐️ 1
🕓 48 weeks ago
iOS macOS tvOS
.package(url: "https://github.com/EthanLipnik/Blackbird.git", from: "v0.8.1")

Blackbird SDK

Simplifying Core Image and image processing

What is Blackbird?

Blackbird is a lightweight framework built entirely in Swift to give easy access to the powerful Core Image library.

Why use Blackbird?

Blackbird automatically manages performance and makes coding easier.

Usage

Import Blackbird and CoreImage

import Blackbird
import CoreImage

Displaying a CIImage

UIKit:

let bbView = UIBlackbirdView()
view.addSubview(bbView)
bbView.frame = view.bounds

bbView.image = {CIImage}

SwiftUI:

@State var image = CIImage()

struct ContentView: View {
  var body: some View {
    BlackbirdView(image: $image)
  }
}

Adding filters to a CIImage

let newImage = image.applyingFilter(.invert)

Installation

  • Use SPM in your Xcode Project

Plans

  • Easy portrait mode functionality.
  • RAW Image processing.

GitHub

link
Stars: 1
Last commit: 48 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

v0.7.1
3 years ago

Added SwiftUI support

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics