pamtopng
Convert a PAM image to PNG. tldr-pages
On several platforms
Several platforms
Convert the specified PAM image to PNG
pamtopng path/to/image.pam >path/to/output.pngIdentifyMark the specified color as transparent in the output image
pamtopng -transparent color path/to/image.pam >path/to/output.pngIdentifyInclude the text in the specified file as tEXt chunks in the output
pamtopng -text path/to/file.txt path/to/image.pam >path/to/output.pngIdentifyCause the output file to be interlaced in Adam7 format
pamtopng -interlace path/to/image.pam >path/to/output.pngIdentify