pnmtotiffcmyk

Convert a PNM image to a CMYK encoded TIFF. More information: <https://netpbm.sourceforge.net/doc/pnmtotiffcmyk.html>.

Install

All systems
curl cmd.cat/pnmtotiffcmyk.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

Convert a PNM image to a CMYK encoded TIFF. More information: <https://netpbm.sourceforge.net/doc/pnmtotiffcmyk.html>.

  • Convert a PNM image to a CMYK encoded TIFF:
    pnmtotiffcmyk path/to/input_file.pnm > path/to/output_file.tiff
  • Specify the TIFF compression method:
    pnmtotiffcmyk -none|packbits|lzw path/to/input_file.pnm > path/to/output_file.tiff
  • Control the fill order:
    pnmtotiffcmyk -msb2lsb|lsb2msb path/to/input_file.pnm > path/to/output_file.tiff

© tl;dr; authors and contributors