pnmtojpeg

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

Install

All systems
curl cmd.cat/pnmtojpeg.sh
Debian Debian
apt-get install netpbm
Ubuntu
apt-get install netpbm
Arch Arch Linux
pacman -S netpbm
image/svg+xml Kali Linux
apt-get install netpbm
CentOS
yum install netpbm-progs
Fedora
dnf install netpbm-progs
Windows (WSL2)
sudo apt-get update sudo apt-get install netpbm
OS X
brew install netpbm
Raspbian
apt-get install netpbm

Converts 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

© tl;dr; authors and contributors