2
votes
1answer
95 views

Given a .gif, return the color components as X11-style hexadecimal specifiers (or equivalents)

I am a fan of potrace, and I recently read the Potrace FAQ. The FAQ includes this beautiful one-liner: cat img.gif | giftopnm | ppmcolormask #641b1b | potrace The command I am looking for would ...