okaneco / kmeans-colors

k-means clustering library and binary to find dominant colors in images
Apache License 2.0
132 stars 9 forks source link

Rethink MapColor trait, add transparency support #13

Closed okaneco closed 4 years ago

okaneco commented 4 years ago

Allow for saving transparent images Implement MapColor for Laba and Srgba Optimize binary by pre-converting centroids to Srgb Make argument ordering in recalculate_centroids consistent Add feature for transparency in main program loop