# Brightroom **Repository Path**: curryluya-github/Brightroom ## Basic Information - **Project Name**: Brightroom - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: EditingStackImageView - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-01 - **Last Updated**: 2023-12-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Brightroom - Composable image editor - building your own UI | Classic Image Editor | PhotosCrop | Face detection | Masking component | | --- | --- | --- | --- | | | | | | ## 🎉 v2 now open! > ⚒ Issues are managed in [v2 project](https://github.com/muukii/Brightroom/projects/2) > 📌 Pixel has been renamed as **Brightroom** > 📖 [Detailed documentations are available on here](https://www.notion.so/muukii/Brightroom-d4c59b37610a49de8a14131d24cd6162) > 🎈 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](https://github.com/VergeGroup/Verge). > 💵 [Please Support me to implement the next feature.](https://github.com/sponsors/muukii) ## 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](https://instagram-engineering.com/bringing-wide-color-to-instagram-5a5481802d7d) - [Super large photo (12000px)](https://eoimages.gsfc.nasa.gov/images/imagerecords/78000/78314/VIIRS_3Feb2012_lrg.jpg) 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** ```swift // 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 🤲 ```swift 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** ```ruby pod 'Brightroom/Engine' pod 'Brightroom/UI-Classic' pod 'Brightroom/UI-Crop' ``` **Swift Package Manager** ```swift 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](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fmuukii%2FPixel.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fmuukii%2FPixel?ref=badge_large)