Linux command
tgatoppm 命令
文本
Uses pipes, overwrite, or deletion. Check paths and options first.
命令示例
Convert TGA to PPM
tgatoppm [input.tga] > [output.ppm]
Extract alpha channel
tgatoppm --alphaout=[alpha.pgm] [input.tga] > [output.ppm]
说明
tgatoppm converts TGA (Targa) images to PPM format. Handles compressed and uncompressed TGA files. Part of Netpbm toolkit.
参数
- --alphaout _file_
- Write alpha channel to file.
FAQ
What is the tgatoppm command used for?
tgatoppm converts TGA (Targa) images to PPM format. Handles compressed and uncompressed TGA files. Part of Netpbm toolkit.
How do I run a basic tgatoppm example?
Run `tgatoppm [input.tga] > [output.ppm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --alphaout _file_ do in tgatoppm?
Write alpha channel to file.