# jpegtopnm > Converts a JPEG/JFIF file to the PPM or PGM format. > More information: . - Convert JPEG/JFIF image to a PPM or PGM image: `jpegtopnm {{path/to/file.jpg}} > {{path/to/file.pnm}}` - Display version: `jpegtopnm -version`