Options (3)
-tbooleanMark the specified color as transparent in the output image
Example:
pamtopng {{[-t|-transparent]}} {{color}} {{path/to/image.pam}} > {{path/to/output.png}}booleanInclude the text in the specified file as tEXt chunks in the output
Example:
pamtopng {{[-te|-text]}} {{path/to/file.txt}} {{path/to/image.pam}} > {{path/to/output.png}}booleanCause the output file to be interlaced in Adam7 format
Example:
pamtopng {{[-in|-interlace]}} {{path/to/image.pam}} > {{path/to/output.png}}Examples (4)
Convert the specified PAM image to PNG
pamtopng path/to/image.pam > path/to/output.pngMark the specified color as transparent in the output image
pamtopng [-t|-transparent] color path/to/image.pam > path/to/output.pngInclude the text in the specified file as tEXt chunks in the output
pamtopng [-te|-text] path/to/file.txt path/to/image.pam > path/to/output.pngCause the output file to be interlaced in Adam7 format
pamtopng [-in|-interlace] path/to/image.pam > path/to/output.pngmade by @shridhargupta | data from tldr-pages