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]
Display version
$ pnmtojpeg -version
Read a PNM image as input and produce a JPEG/JFIF/EXIF image as output