pnm2png takes its input from the command line (your way) or from stdin
(allan's way), and outputs the png data to stdout.  what you want is
this:

pnmtopng document.pnm > document.png


On 1/26/07, Rodolfo Medina <[email protected]> wrote:
> But, when I try to use `pnmtopng' alone, with:
>
>  # pnmtopng document.pnm
>
> , the program fails: I get some messed output and nothing else.

Reply via email to