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

pamtotga — Convert a Netpbm image to a TrueVision Targa file. More information: <https://netpbm.sourceforge.net

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

Problem

How to use the pamtotga command: Convert a Netpbm image to a TrueVision Targa file. More information: <https://netpbm.sourceforge.net/doc/pamtotga.html>.

Solution

pamtotga — Convert a Netpbm image to a TrueVision Targa file. More information: <https://netpbm.sourceforge.net/doc/pamtotga.html>.

Convert a Netpbm image to a TrueVision Targa file:
pamtotga {{path/to/file.pam}} > {{path/to/output.tga}}


Specify the color map of the output image:
pamtotga -{{cmap|cmap16|mono|rgb}} {{path/to/file.pam}} > {{path/to/output.tga}}


Display version:
pamtotga {{[-v|-version]}}

Code Snippets

Convert a Netpbm image to a TrueVision Targa file

pamtotga {{path/to/file.pam}} > {{path/to/output.tga}}

Specify the color map of the output image

pamtotga -{{cmap|cmap16|mono|rgb}} {{path/to/file.pam}} > {{path/to/output.tga}}

Display version

pamtotga {{[-v|-version]}}

Context

tldr-pages: common/pamtotga

Revisions (0)

No revisions yet.