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.7.1
Core Image Made Easy
⭐️ 1
🕓 7 weeks ago
iOS macOS tvOS
.package(url: "https://github.com/EthanLipnik/Blackbird.git", from: "v0.7.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: 3 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

v0.7.1
1 year ago

Added SwiftUI support

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