Using imagemagick, awk and kmeans to find dominant colors in images | Hacker News Reader