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

jpegtopnm — Convert a JPEG/JFIF file to the PPM or PGM format. More information: <https://netpbm.sourceforge.net

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

Problem

How to use the jpegtopnm command: Convert a JPEG/JFIF file to the PPM or PGM format. More information: <https://netpbm.sourceforge.net/doc/jpegtopnm.html>.

Solution

jpegtopnm — Convert a JPEG/JFIF file to the PPM or PGM format. More information: <https://netpbm.sourceforge.net/doc/jpegtopnm.html>.

Convert JPEG/JFIF image to a PPM or PGM image:
jpegtopnm {{path/to/file.jpg}} > {{path/to/file.pnm}}


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

Code Snippets

Convert JPEG/JFIF image to a PPM or PGM image

jpegtopnm {{path/to/file.jpg}} > {{path/to/file.pnm}}

Display version

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

Context

tldr-pages: common/jpegtopnm

Revisions (0)

No revisions yet.