add new chinese translations
This commit is contained in:
20
pages.zh/common/tgatoppm.md
Normal file
20
pages.zh/common/tgatoppm.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# tgatoppm
|
||||
|
||||
> 将 TrueVision Targa 文件转换为 Netpbm 图像。
|
||||
> 更多信息:<https://netpbm.sourceforge.net/doc/tgatoppm.html>。
|
||||
|
||||
- 将 TrueVision Targa 文件转换为 PPM 图像:
|
||||
|
||||
`tgatoppm {{path/to/file.tga}} > {{path/to/output.ppm}}`
|
||||
|
||||
- 将 TGA 头部的信息转储到 `stdout`:
|
||||
|
||||
`tgatoppm --headerdump {{path/to/file.tga}} > {{path/to/output.ppm}}`
|
||||
|
||||
- 将输入图像的透明度通道值写入指定文件:
|
||||
|
||||
`tgatoppm --alphaout {{path/to/transparency_file.pgm}} {{path/to/file.tga}} > {{path/to/output.ppm}}`
|
||||
|
||||
- 显示版本:
|
||||
|
||||
`tgatoppm -version`
|
Reference in New Issue
Block a user