github.com/sgreben/image-palette-tools (go): extract palettes from images / cluster images by their palettes
Keywords: cli|image|image-clustering|json|palette-generation