add new chinese translations
This commit is contained in:
20
pages.zh/common/pnmremap.md
Normal file
20
pages.zh/common/pnmremap.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# pnmremap
|
||||
|
||||
> 替换PNM图像中的颜色。
|
||||
> 更多信息:<https://netpbm.sourceforge.net/doc/pnmremap.html>。
|
||||
|
||||
- 用指定的调色板中的颜色替换图像中的颜色:
|
||||
|
||||
`pnmremap -mapfile {{path/to/palette_file.ppm}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`
|
||||
|
||||
- 使用弗洛伊德-斯坦伯格抖动来表示调色板中缺失的颜色:
|
||||
|
||||
`pnmremap -mapfile {{path/to/palette_file.ppm}} -floyd {{path/to/input.pnm}} > {{path/to/output.pnm}}`
|
||||
|
||||
- 使用调色板中的第一个颜色来表示调色板中缺失的颜色:
|
||||
|
||||
`pnmremap -mapfile {{path/to/palette_file.ppm}} -firstisdefault {{path/to/input.pnm}} > {{path/to/output.pnm}}`
|
||||
|
||||
- 使用指定的颜色来表示调色板中缺失的颜色:
|
||||
|
||||
`pnmremap -mapfile {{path/to/palette_file.ppm}} -missingcolor {{color}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`
|
Reference in New Issue
Block a user