commands.sh

tifftopnm

all

Convert a TIFF image to a PNM image.

More info →

Options (3)

-aboolean

Create a PGM file containing the alpha channel of the input image

Example: tifftopnm {{[-a|-alphaout]}} {{path/to/alpha_file.pgm}} {{path/to/input_file.tiff}} > {{path/to/output_file.pnm}}
-rboolean

Respect the `fillorder` tag in the input TIFF image

Example: tifftopnm {{[-r|-respectfillorder]}} {{path/to/input_file.tiff}} > {{path/to/output_file.pnm}}
-hboolean

Print TIFF header information to `stderr`

Example: tifftopnm {{[-h|-headerdump]}} {{path/to/input_file.tiff}} > {{path/to/output_file.pnm}}

Examples (4)

Convert a TIFF to a PNM file

tifftopnm path/to/input_file.tiff > path/to/output_file.pnm

Create a PGM file containing the alpha channel of the input image

tifftopnm [-a|-alphaout] path/to/alpha_file.pgm path/to/input_file.tiff > path/to/output_file.pnm

Respect the `fillorder` tag in the input TIFF image

tifftopnm [-r|-respectfillorder] path/to/input_file.tiff > path/to/output_file.pnm

Print TIFF header information to `stderr`

tifftopnm [-h|-headerdump] path/to/input_file.tiff > path/to/output_file.pnm
made by @shridhargupta | data from tldr-pages