LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pamtopng

Convert PAM images to PNG format

TLDR

Convert PAM to PNG
$ pamtopng [input.pam] > [output.png]
copy
Convert with maximum compression
$ pamtopng -compression [9] [input.pam] > [output.png]
copy
Create interlaced PNG
$ pamtopng -interlace [input.pam] > [output.png]
copy
Convert with transparency
$ pamtopng -transparent [white] [input.pam] > [output.png]
copy

SYNOPSIS

pamtopng [options] [file]

DESCRIPTION

pamtopng converts Netpbm PAM images to PNG format. It is the preferred tool over pnmtopng for images with alpha channels, as it properly handles PAM's native alpha support. Part of the Netpbm toolkit.Input is read from the specified file or standard input. Output is written to standard output.

PARAMETERS

-compression n

Compression level (0-9, default: 6).
-interlace
Create interlaced (Adam7) PNG for progressive loading.
-transparent color
Set fully transparent color.
-background color
Background color for alpha blending.
-gamma value
Gamma value for the image.
-srgbintent intent
sRGB rendering intent: absolute, relative, perceptual, or saturation.
-text file
Add tEXt chunks from a text file.
-verbose
Print detailed progress information to standard error.

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