commands.sh

sgitopnm

all

Convert an SGI file to a PNM file.

More info →

Options (2)

boolean

Display information about the SGI file

Example: sgitopnm {{[-verb|-verbose]}} {{path/to/input.sgi}} > {{path/to/output.pnm}}
-cboolean

Extract channel n of the SGI file

Example: sgitopnm {{[-c|-channel]}} {{n}} {{path/to/input.sgi}} > {{path/to/output.pnm}}

Examples (3)

Convert an SGI image to a PNM file

sgitopnm path/to/input.sgi > path/to/output.pnm

Display information about the SGI file

sgitopnm [-verb|-verbose] path/to/input.sgi > path/to/output.pnm

Extract channel n of the SGI file

sgitopnm [-c|-channel] n path/to/input.sgi > path/to/output.pnm
made by @shridhargupta | data from tldr-pages