Grabs the dominant color or a representative color palette from an image
ColorThiefSwift
Grabs the dominant color or a representative color palette from an image. A Swift port of Sven Woltmann's Java implementation.
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
- Xcode 9
- Swift 4
- iOS 9
Installation
ColorThiefSwift is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'ColorThiefSwift', '>= 0.3.0'
Author
Kazuki Ohara kazuki.ohara@gmail.com