tldr/pages/common/pnmtojpeg.md

323 B

pnmtojpeg

Convert a PNM image file to the JPEG/JFIF/EXIF image format. More information: https://netpbm.sourceforge.net/doc/pnmtojpeg.html.

  • 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