LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

sgitopnm

Convert SGI images to PNM format

TLDR

Convert SGI image to PNM
$ sgitopnm [input.rgb] > [output.pnm]
copy
Extract specific channel (0=red, 1=green, 2=blue)
$ sgitopnm -channel [0] [input.rgb] > [output.pgm]
copy
Convert with verbose output showing image information
$ sgitopnm -verbose [input.rgb] > [output.pnm]
copy

SYNOPSIS

sgitopnm [options] [file]

DESCRIPTION

sgitopnm converts Silicon Graphics image format (SGI RGB) to PNM (Portable aNyMap). SGI images typically use .rgb, .rgba, or .bw extensions. Single-channel images produce PGM output; multi-channel images produce PPM. Part of the Netpbm toolkit.

PARAMETERS

-channel n

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

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid