Options (3)
-mbooleanReplace transparent pixels by the specified color
Example:
pngtopam {{[-m|-mix]}} {{[-ba|-background]}} {{color}} {{path/to/image.png}} > {{path/to/output.pam}}booleanReplace transparent pixels by the specified color
Example:
pngtopam {{[-m|-mix]}} {{[-ba|-background]}} {{color}} {{path/to/image.png}} > {{path/to/output.pam}}booleanWrite tEXt chunks found in the input image to the specified text file
Example:
pngtopam {{[-te|-text]}} {{path/to/file.txt}} {{path/to/image.png}} > {{path/to/output.pam}}Examples (4)
Convert the specified PNG image to a Netpbm image
pngtopam path/to/image.png > path/to/output.pamCreate an output image that includes both the main image and transparency mask of the input image
pngtopam -alphapam path/to/image.png > path/to/output.pamReplace transparent pixels by the specified color
pngtopam [-m|-mix] [-ba|-background] color path/to/image.png > path/to/output.pamWrite tEXt chunks found in the input image to the specified text file
pngtopam [-te|-text] path/to/file.txt path/to/image.png > path/to/output.pammade by @shridhargupta | data from tldr-pages