Questions tagged [netpbm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

tool like pnmcut but optimized for static files on disk?

Here's the scenario. I have a ginormous image (~ 30,000 pixels across, so my ginormous might be small to you). I want to take a lot of small cut outs from it. I have code right now that works with ...
2
votes
1answer
124 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
155 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... (...