Contents The libjpeg package contains cjpeg, djpeg, jpegtran, rdjpgcom, wrjpgcom and jpeg libraries. Description cjpeg cjpeg compresses image files to produce a JPEG/JFIF file on the standard output. Currently supported input file formats are: PPM (PBMPLUS color format), PGM (PBMPLUS gray-scale format), BMP, and Targa. djpeg djpeg decompresses image files from JPEG/JFIF format to either PPM (PBMPLUS color format), PGM (PBMPLUS gray-scale format), BMP, or Targa format. jpegtran jpegtran is used for lossless transformation of JPEG files. rdjpgcom rdjpgcom displays text comments from within a JPEG file. wrjpgcom wrjpgcom inserts text comments into a JPEG file. jpeg libraries These libraries are used by many programs for reading and writing jpeg format files.