LinuxCommandLibrary

pnmtojpeg

Converts a PNM image file to the JPEG/JFIF/EXIF image format.

TLDR

Read a PNM image as input and produce a JPEG/JFIF/EXIF image as output

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


Display version
$ pnmtojpeg -version
copy

Copied to clipboard