# jpegtopnm
> Convert a JPEG/JFIF file to the PPM or PGM format.
> More information: <https://netpbm.sourceforge.net/doc/jpegtopnm.html>.
- Convert JPEG/JFIF image to a PPM or PGM image:
`jpegtopnm {{path/to/file.jpg}} > {{path/to/file.pnm}}`
- Display version:
`jpegtopnm -version`