LinuxCommandLibrary

sgitopnm

Convert SGI images to PNM format

TLDR

Convert SGI image to PNM

$ sgitopnm [input.rgb] > [output.pnm]
copy
Extract specific channel
$ sgitopnm -channel [0] [input.rgb] > [output.pgm]
copy

SYNOPSIS

sgitopnm [options] [file]

DESCRIPTION

sgitopnm converts Silicon Graphics image format (SGI RGB) to PNM. SGI images use .rgb, .rgba, .bw extensions. Part of Netpbm toolkit.

PARAMETERS

-channel n

Extract specific channel (0=red, 1=green, 2=blue).
-verbose
Print image information.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community