pamrgbatopng, pamtopng, pngtopam: add pages (#12399)
This commit is contained in:
21
pages/common/pamtopng.md
Normal file
21
pages/common/pamtopng.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# pamtopng
|
||||
|
||||
> Convert a PAM image to PNG.
|
||||
> See also: `pnmtopng`, `pngtopam`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pamtopng.html>.
|
||||
|
||||
- Convert the specified PAM image to PNG:
|
||||
|
||||
`pamtopng {{path/to/image.pam}} > {{path/to/output.png}}`
|
||||
|
||||
- Mark the specified color as transparent in the output image:
|
||||
|
||||
`pamtopng -transparent {{color}} {{path/to/image.pam}} > {{path/to/output.png}}`
|
||||
|
||||
- Include 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.png}}`
|
||||
|
||||
- Cause the output file to be interlaced in Adam7 format:
|
||||
|
||||
`pamtopng -interlace {{path/to/image.pam}} > {{path/to/output.png}}`
|
Reference in New Issue
Block a user