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 {{[-t|-transparent]}} {{color}} {{path/to/image.pam}} > {{path/to/output.png}}

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

pamtopng {{[-in|-interlace]}} {{path/to/image.pam}} > {{path/to/output.png}}