ppmtotga
Convert PPM images to TGA format
TLDR
Convert PPM to TGA
$ ppmtotga [input.ppm] > [output.tga]
Convert with compression$ ppmtotga -rle [input.ppm] > [output.tga]
SYNOPSIS
ppmtotga [options] [file]
DESCRIPTION
ppmtotga converts PPM images to TGA (Targa) format. TGA is commonly used in game development and 3D graphics. Part of Netpbm toolkit.
PARAMETERS
-rle
Run-length encoding compression.-norle
No compression.
INSTALL
sudo apt install netpbm
sudo dnf install netpbm
sudo pacman -S netpbm
sudo apk add netpbm
sudo zypper install netpbm
brew install netpbm
nix profile install nixpkgs#netpbm