Grabs the dominant color or a representative color palette from an image. A Swift port of Sven Woltmann's Java implementation.
To run the example project, clone the repo, and run
pod install from the Example directory first.
- Xcode 10.2
- Swift 5
- iOS 9
ColorThiefSwift is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ColorThiefSwift', '>= 0.4.0'
Add this to Cartfile
github "yamoridon/ColorThiefSwift" ~> 0.4.0
$ carthage update
Kazuki Ohara [email protected]
ColorThiefSwift is available under the MIT license. See the LICENSE file for more info.