LinuxCommandLibrary

pamtopng

converts PAM images to PNG format

TLDR

Convert PAM to PNG

$ pamtopng [input.pam] > [output.png]
copy
Convert with compression
$ pamtopng -compression [9] [input.pam] > [output.png]
copy
Create interlaced PNG
$ pamtopng -interlace [input.pam] > [output.png]
copy

SYNOPSIS

pamtopng [options] [file]

DESCRIPTION

pamtopng converts PAM images to PNG format. Part of Netpbm toolkit. Preferred over pnmtopng for images with alpha channels.

PARAMETERS

-compression n

Compression level (0-9).
-interlace
Create interlaced PNG.
-transparent color
Transparent color.
-background color
Background color.
-gamma value
Gamma value.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community