tgatoppm
Convert a TrueVision Targa file to a Netpbm image. More information: <https://netpbm.sourceforge.net/doc/tgatoppm.html>.
Install
- All systems
-
curl cmd.cat/tgatoppm.sh
- Debian
-
apt-get install netpbm
- Ubuntu
-
apt-get install netpbm
- Arch Linux
-
pacman -S netpbm
- 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
- Dockerfile
- dockerfile.run/tgatoppm
Convert a TrueVision Targa file to a Netpbm image. More information: <https://netpbm.sourceforge.net/doc/tgatoppm.html>.
-
Convert a TrueVision Targa file to a PPM image:
tgatoppm path/to/file.tga > path/to/output.ppm
-
Dump information from the TGA header to `stdout`:
tgatoppm --headerdump path/to/file.tga > path/to/output.ppm
-
Write the transparency channel values of the input image to the specified file:
tgatoppm --alphaout path/to/transparency_file.pgm path/to/file.tga > path/to/output.ppm
-
Display version:
tgatoppm -version
© tl;dr; authors and contributors