Convert a PNM image file to the JPEG/JFIF/EXIF image format.
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