commands.sh

pnmtops

all

Convert a PNM image to a PostScript file.

More info →

Options (4)

boolean

Specify the dimensions of the output image in inches

Example: pnmtops {{[-imagew|-imagewidth]}} {{imagewidth}} {{[-imageh|-imageheight]}} {{imageheight}} {{path/to/file.pnm}} > {{path/to/file.ps}}
boolean

Specify the dimensions of the output image in inches

Example: pnmtops {{[-imagew|-imagewidth]}} {{imagewidth}} {{[-imageh|-imageheight]}} {{imageheight}} {{path/to/file.pnm}} > {{path/to/file.ps}}
-wboolean

Specify the dimensions of the page the output image resides on in inches

Example: pnmtops {{[-w|-width]}} {{width}} {{[-h|-height]}} {{height}} {{path/to/file.pnm}} > {{path/to/file.ps}}
-hboolean

Specify the dimensions of the page the output image resides on in inches

Example: pnmtops {{[-w|-width]}} {{width}} {{[-h|-height]}} {{height}} {{path/to/file.pnm}} > {{path/to/file.ps}}

Examples (3)

Convert a PNM image to a PS file

pnmtops path/to/file.pnm > path/to/file.ps

Specify the dimensions of the output image in inches

pnmtops [-imagew|-imagewidth] imagewidth [-imageh|-imageheight] imageheight path/to/file.pnm > path/to/file.ps

Specify the dimensions of the page the output image resides on in inches

pnmtops [-w|-width] width [-h|-height] height path/to/file.pnm > path/to/file.ps
made by @shridhargupta | data from tldr-pages