C#获取图片主色调算法(聚类提取)
1.调用方法 ColorThief colorThief = new ColorThief(); var thiefColors = colorThief.GetColors(path, ignoreWhite: false); var thiefColor = colorThief.GetAveColor(thiefColors); 2.帮助类代码块 public partial class ColorThief { public con…
53 2024-11-20 去围观