pamtotga

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

Install

All systems
curl cmd.cat/pamtotga.sh
Debian Debian
apt-get install netpbm
Ubuntu
apt-get install netpbm
Arch Arch Linux
pacman -S netpbm
image/svg+xml Kali Linux
apt-get install netpbm
CentOS
yum install netpbm-progs
Fedora
dnf install netpbm-progs
Windows (WSL2)
sudo apt-get update sudo apt-get install netpbm
OS X
brew install netpbm
Raspbian
apt-get install netpbm

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 -version

© tl;dr; authors and contributors