LinuxCommandLibrary

jpegtopnm

Converts a JPEG/JFIF file to the PPM or PGM format.

TLDR

Convert JPEG/JFIF image to a PPM or PGM image

$ jpegtopnm [path/to/file.jpg] > [path/to/file.pnm]
copy


Display version
$ jpegtopnm -version
copy

Copied to clipboard