HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
pnmtotiffcmykcommandcmykconvertcliimageencodedpnm

Problem

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

Solution

pnmtotiffcmyk — 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}}

Code Snippets

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}}

Context

tldr-pages: common/pnmtotiffcmyk

Revisions (0)

No revisions yet.