pnmtotiffcmyk
Convert PNM image to CMYK TIFF
TLDR
Convert a PNM image to a CMYK encoded TIFF
Specify the TIFF compression method
Control the fill order
SYNOPSIS
pnmtotiffcmyk [pnmfile]
PARAMETERS
[pnmfile]
The input PNM file. If not specified, input is read from standard input.
DESCRIPTION
The pnmtotiffcmyk command converts a PNM (Portable Any Map) image to a CMYK (Cyan, Magenta, Yellow, Key/Black) TIFF (Tagged Image File Format) image. It essentially acts as a wrapper, taking a PNM as input and producing a TIFF that can be used in professional printing workflows.
Since PNM formats are typically RGB or grayscale, pnmtotiffcmyk performs a color conversion to CMYK. The primary use case is preparing images from a generic format for use in desktop publishing or prepress environments where CMYK color separation is critical. The command relies on the TIFF library for the actual TIFF encoding process and uses built in functions to perform the color space conversion.
USAGE EXAMPLE
To convert a PNM file named myimage.pnm to a CMYK TIFF file named myimage.tiff, redirect the output of the command to a file:
pnmtotiffcmyk myimage.pnm > myimage.tiff
SEE ALSO
pnm(5), tiff(3), tifflib(3)