Swiftpack.co - muukii/Brightroom as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
muukii/Brightroom
πŸ“· A composable image editor using Core Image and Metal.
.package(url: "https://github.com/muukii/Brightroom.git", from: "2.3.3")

Brightroom - Composable image editor - building your own UI

Classic Image Editor PhotosCrop Face detection Masking component

πŸŽ‰ v2.0.0-alpha now open!

πŸ’₯ v2.0.0 development is still early development. We have a lot of known issues.

βš’ Issues are managed in v2 project

πŸ“Œ Pixel has been renamed as Brightroom

πŸ“– Detailed documentations are available on here

🎈 Wanted CoreImage and Metal professional! Please help us, we have issues that we don't know how to solve. (help wanted in Issues)

⭐️ If you interested in v2, hit the Star button to motivate us! 🀠

πŸͺ Brightroom's state management powered by Verge.

πŸ’΅ Please Support me to implement the next feature.

Brightroom v2 provides the following features:

  • Components are built separately and run standalone using an EditingStack.
  • Create your own image editor UI by composing components.
  • EditingStack manages the history of editing and renders images. It's like a headless browser.
  • Headless rendering with using EditingStack
  • Wide color editing supported
  • Super large photo (12000px) supported (But exporting takes so long time for now.)
  • Blazing fast previewing by Metal power.
  • Drawing supported - masking blurry
  • Creating your own filter with LUT
  • Opening the image from URL
  • Supported UIKit and SwiftUI
  • Downloading image supported

Requirements

  • Swift 5.3 (Xcode12.4+)
  • iOS 12+

Detail Documentations

Documentations

Usage

PhotosCropViewController

// Creating image provider
let imageProvider: ImageProvider = .init(image: uiImage) // url, data supported.

// Creating view controller
let controller = PhotosCropViewController(imageProvider: imageProvider)

// Setting up handling after editing finished.
controller.handers

SwiftUI supported (beta)

Not sophisticated API.
Please help us 🀲

let editingStack: EditingStack

SwiftUIPhotosCropView(editingStack: editingStack, onCompleted: {
  let image = try! editingStack.makeRenderer().render().swiftUIImage
  
})

Demo applications

This repository contains a demo application.
You can see many demonstrations of what Brightroom can perform and experiments in technology.

Customization showcases

Installation

CocoaPods

pod 'Brightroom/Engine'
pod 'Brightroom/UI-Classic'
pod 'Brightroom/UI-Crop'

Swift Package Manager

dependencies: [
    .package(url: "https://github.com/muukii/Brightroom.git", exact: "2.2.0")
]

License

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

FOSSA Status

GitHub

link
Stars: 2423
Last commit: 3 hours ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

Yesterday

Number of PRs : 2

tag number of PRs

Group: Enhancement (1)

  • Support resource-bundle #149 by @muukii

Other (1)

  • Update dependencies #148 by @muukii

Generated by chglog

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