LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ppmtotga

Convert PPM images to TGA format

TLDR

Convert PPM to TGA
$ ppmtotga [input.ppm] > [output.tga]
copy
Convert with compression
$ ppmtotga -rle [input.ppm] > [output.tga]
copy

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
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

SEE ALSO

Copied to clipboard
Kai