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 wrote:
> But, when I try to use `pnmtopng' alone, with:
>
> # pnmtopng document.pnm
On 1/26/07, Rodolfo Medina wrote:
> Rodolfo Medina writes:
>
> > I scan a document with:
> >
> > $ scanimage --mode Lineart --resolution 150 -x 215 -y 297 > document
> >
> > , so obtaining a fine image about 250Kb big. But, the problem is that MS
> > Windows can't apparently see the file, and I
Rodolfo Medina writes:
> I scan a document with:
>
> $ scanimage --mode Lineart --resolution 150 -x 215 -y 297 > document
>
> , so obtaining a fine image about 250Kb big. But, the problem is that MS
> Windows can't apparently see the file, and I need to send it to other people
> non Linux users.