Examples (3)
Convert a PNM image to a CMYK encoded TIFF
pnmtotiffcmyk path/to/input_file.pnm > path/to/output_file.tiffSpecify the TIFF compression method
pnmtotiffcmyk -none|packbits|lzw path/to/input_file.pnm > path/to/output_file.tiffControl the fill order
pnmtotiffcmyk -msb2lsb|lsb2msb path/to/input_file.pnm > path/to/output_file.tiffmade by @shridhargupta | data from tldr-pages