for f in *.png; do convert "$f" -colorspace hsl -separate -delete 1,2 -depth 8 miff:- done | convert -background none - +append -define histogram:unique-colors=true histogram:gif:result.gif Or, if you want the numbers and plan to plot them yourself a different way, you can ch...