pamtopng Command Examples

Convert a PAM image to PNG. See also: pnmtopng, pngtopam. More information: https://netpbm.sourceforge.net/doc/pamtopng.html.

pamtopng {{path/to/image.pam}} > {{path/to/output.png}}

pamtopng -transparent {{color}} {{path/to/image.pam}} > {{path/to/output.png}}

pamtopng -text {{path/to/file.txt}} {{path/to/image.pam}} > {{path/to/output.png}}

pamtopng -interlace {{path/to/image.pam}} > {{path/to/output.png}}