LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pnmtosgi

Convert PNM to SGI image format

TLDR

Convert PNM to SGI image
$ pnmtosgi [input.pnm] > [output.rgb]
copy
Use RLE compression
$ pnmtosgi -rle [input.pnm] > [output.rgb]
copy

SYNOPSIS

pnmtosgi [options] [file]

DESCRIPTION

pnmtosgi converts PNM images to SGI (Silicon Graphics) image format. Part of Netpbm toolkit.

PARAMETERS

-verbatim

No compression (default).
-rle
Use RLE compression.
-imagename name
Set the image name field stored inside the SGI file.
-mtime seconds
Set the modification time stored inside the file.

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

Copied to clipboard
Kai