• Stars
    star
    186
  • Rank 207,316 (Top 5 %)
  • Language
    Swift
  • License
    MIT License
  • Created almost 8 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Grabs the dominant color or a representative color palette from an image. A Swift port of Sven Woltmann's Java implementation.

ColorThiefSwift

Grabs the dominant color or a representative color palette from an image. A Swift port of Sven Woltmann's Java implementation.

screen shot

Build Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • Xcode 10.2
  • Swift 5
  • iOS 9

Installation

CocoaPods

ColorThiefSwift is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'ColorThiefSwift', '>= 0.4.1'

Carthage

Add this to Cartfile

github "yamoridon/ColorThiefSwift" ~> 0.4.1
$ carthage update

Author

Kazuki Ohara [email protected]

License

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

Thanks