LinuxCommandLibrary

pamtopnm

converts PAM images to PNM format

TLDR

Convert PAM to PNM format

$ pamtopnm [input.pam] > [output.pnm]
copy
Convert discarding alpha channel
$ pamtopnm -assume [input.pam] > [output.pnm]
copy

SYNOPSIS

pamtopnm [options] [file]

DESCRIPTION

pamtopnm converts PAM images to PNM (PBM/PGM/PPM) format. If input has alpha channel, it is removed. Part of Netpbm toolkit.

PARAMETERS

-assume

Assume non-alpha interpretation of extra channel.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community