HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pnmtopng — Convert a PNM image file to PNG image format. More information: <https://netpbm.sourceforge.net/doc/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandconvertcliimagefilepnmtopngpngpnm

Problem

How to use the pnmtopng command: Convert a PNM image file to PNG image format. More information: <https://netpbm.sourceforge.net/doc/pnmtopng.html>.

Solution

pnmtopng — Convert a PNM image file to PNG image format. More information: <https://netpbm.sourceforge.net/doc/pnmtopng.html>.

Read a PNM image as input and produce a PNG image as output:
pnmtopng {{path/to/file.pnm}} > {{path/to/file.png}}


Display version:
pnmtopng {{[-vers|-version]}}

Code Snippets

Read a PNM image as input and produce a PNG image as output

pnmtopng {{path/to/file.pnm}} > {{path/to/file.png}}

Display version

pnmtopng {{[-vers|-version]}}

Context

tldr-pages: common/pnmtopng

Revisions (0)

No revisions yet.