The tag has no wiki summary.

learn more… | top users | synonyms

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 ...
3
votes
1answer
114 views

Colour problem when capturing a png of the top panel of the screen

I want to capture a window as a png from within a bash script, using the window's ID. In this case, the window is the top panel.  Using gnome-screenshot the colours are true, as per this image... ...