Options (1)
-cbooleanAlways produce a color TIFF image, even if the input image is greyscale
Example:
pamtotiff {{[-c|-color]}} {{path/to/input_file.pam}} > {{path/to/output_file.tiff}}Examples (3)
Convert a PAM image to a TIFF image
pamtotiff path/to/input_file.pam > path/to/output_file.tiffExplicitly specify a compression method for the output file
pamtotiff -none|packbits|lzw|g3|g4|flate|adobeflate path/to/input_file.pam > path/to/output_file.tiffAlways produce a color TIFF image, even if the input image is greyscale
pamtotiff [-c|-color] path/to/input_file.pam > path/to/output_file.tiffmade by @shridhargupta | data from tldr-pages