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 ...
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... ...