Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Shell script to make letter icons for Slack
mkdir letters
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:A letters/a.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:B letters/b.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:C letters/c.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:D letters/d.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:E letters/e.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:F letters/f.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:G letters/g.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:H letters/h.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:I letters/i.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:J letters/j.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:K letters/k.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:L letters/l.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:M letters/m.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:N letters/n.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:O letters/o.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:P letters/p.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:Q letters/q.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:R letters/r.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:S letters/s.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:T letters/t.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:U letters/u.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:V letters/v.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:W letters/w.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:X letters/x.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:Y letters/y.png
convert -background transparent -fill black -font Chalkduster -pointsize 72 label:Z letters/z.png
tar -cvf letters.tar.gz letters
rm -rf letters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.