LinuxCommandLibrary

tifftopnm

Convert a TIFF image to a PNM image.

TLDR

Convert a TIFF to a PNM file

$ tifftopnm [path/to/input_file.tiff] > [path/to/output_file.pnm]
copy


Create a PGM file containing the alpha channel of the input image
$ tifftopnm -alphaout [path/to/alpha_file.pgm] [path/to/input_file.tiff] > [path/to/output_file.pnm]
copy


Respect the fillorder tag in the input TIFF image
$ tifftopnm -respectfillorder [path/to/input_file.tiff] > [path/to/output_file.pnm]
copy


Print TIFF header information to stderr
$ tifftopnm -headerdump [path/to/input_file.tiff] > [path/to/output_file.pnm]
copy

Copied to clipboard