LinuxCommandLibrary

pamtotga

Convert a Netpbm image to a TrueVision Targa file.

TLDR

Convert a Netpbm image to a TrueVision Targa file

$ pamtotga [path/to/file.pam] > [path/to/output.tga]
copy


Specify the color map of the output image
$ pamtotga -[cmap|cmap16|mono|rgb] [path/to/file.pam] > [path/to/output.tga]
copy


Display version
$ pamtotga -version
copy

Copied to clipboard