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

imgtoppm — Convert various image file formats to the PPM (Portable Pixmap) format. More information: <https://n

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

Problem

How to use the imgtoppm command: Convert various image file formats to the PPM (Portable Pixmap) format. More information: <https://netpbm.sourceforge.net/doc/imgtoppm.html>.

Solution

imgtoppm — Convert various image file formats to the PPM (Portable Pixmap) format. More information: <https://netpbm.sourceforge.net/doc/imgtoppm.html>.

Convert an input image to PPM format:
imgtoppm {{path/to/input}} > {{path/to/output.ppm}}


Display version:
imgtoppm {{[-v|-version]}}

Code Snippets

Convert an input image to PPM format

imgtoppm {{path/to/input}} > {{path/to/output.ppm}}

Display version

imgtoppm {{[-v|-version]}}

Context

tldr-pages: common/imgtoppm

Revisions (0)

No revisions yet.