# ColorThiefSwift **Repository Path**: chuansong16/ColorThiefSwift ## Basic Information - **Project Name**: ColorThiefSwift - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-03-11 - **Last Updated**: 2021-03-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ColorThiefSwift Grabs the dominant color or a representative color palette from an image. A Swift port of Sven Woltmann's Java implementation. ![screen shot](https://github.com/yamoridon/ColorThiefSwift/blob/master/screenshot.png?raw=true "screen shot") [![Build Status](https://app.bitrise.io/app/36bdb92c783ae764/status.svg?token=XE0zz2NQ9YgDskIP61QTaA&branch=bitrise)](https://app.bitrise.io/app/36bdb92c783ae764) [![Version](https://img.shields.io/cocoapods/v/ColorThiefSwift.svg?style=flat)](http://cocoapods.org/pods/ColorThiefSwift) [![License](https://img.shields.io/cocoapods/l/ColorThiefSwift.svg?style=flat)](http://cocoapods.org/pods/ColorThiefSwift) [![Platform](https://img.shields.io/cocoapods/p/ColorThiefSwift.svg?style=flat)](http://cocoapods.org/pods/ColorThiefSwift) ## 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](http://cocoapods.org). To install it, simply add the following line to your Podfile: ```ruby pod 'ColorThiefSwift', '>= 0.4.1' ``` ### Carthage Add this to Cartfile ``` github "yamoridon/ColorThiefSwift" ~> 0.4.1 ``` ``` $ carthage update ``` ## Author Kazuki Ohara kazuki.ohara@gmail.com ## License ColorThiefSwift is available under the MIT license. See the LICENSE file for more info. ## Thanks - Sven Woltmann - for the Java Implementation. ColorThiefSwift is a port of this. - https://github.com/SvenWoltmann/color-thief-java - Lokesh Dhakar - for the original JavaScript version. - http://lokeshdhakar.com/projects/color-thief/ - https://github.com/lokesh/color-thief/