LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pamtoqoi

converts PAM/PNM images to QOI format

TLDR

Convert PAM to QOI format
$ pamtoqoi [input.pam] > [output.qoi]
copy

SYNOPSIS

pamtoqoi [file]

DESCRIPTION

pamtoqoi converts PAM/PNM images to QOI (Quite OK Image) format. QOI is a fast, lossless image format designed for simplicity and speed. Part of Netpbm toolkit.

PARAMETERS

-quiet

Suppress informational messages.
-version
Display program version and exit.

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

CAVEATS

Input must be a PAM (Portable Arbitrary Map) or PNM image. QOI supports RGB and RGBA only; grayscale inputs may be rejected or converted.

SEE ALSO

qoitopam(1), pnmtopng(1), pamtopnm(1), pam(5), pnm(5)

Copied to clipboard
Kai