commands.sh

ppmtoicr

all

Convert a PPM image to NCSA ICR format.

More info →

Options (3)

-wboolean

Display the output in name

Example: ppmtoicr {{[-w|-windowname]}} {{name}} {{path/to/file.ppm}} > {{path/to/file.icr}}
-eboolean

Expand the image by the specified factor

Example: ppmtoicr {{[-e|-expand]}} {{factor}} {{path/to/file.ppm}} > {{path/to/file.icr}}
-dboolean

Display the output on the screen with the specified number

Example: ppmtoicr {{[-d|-display]}} {{number}} {{path/to/file.ppm}} > {{path/to/file.icr}}

Examples (4)

Convert a PPM image to a ICR file

ppmtoicr path/to/file.ppm > path/to/file.icr

Display the output in name

ppmtoicr [-w|-windowname] name path/to/file.ppm > path/to/file.icr

Expand the image by the specified factor

ppmtoicr [-e|-expand] factor path/to/file.ppm > path/to/file.icr

Display the output on the screen with the specified number

ppmtoicr [-d|-display] number path/to/file.ppm > path/to/file.icr
made by @shridhargupta | data from tldr-pages