yamoridon / ColorThiefSwift

Grabs the dominant color or a representative color palette from an image. A Swift port of Sven Woltmann's Java implementation.
MIT License
233 stars 31 forks source link

How to get the coordinates of dominant colours from UIImage ? #10

Closed springlo closed 5 years ago

yamoridon commented 5 years ago

It does not necessarily return exactly same colours contained in the image because they are calculated from the pixels of the image. So the result colors does not corresponding coordinates in the image.