add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -0,0 +1,21 @@
# pamditherbw
> 对灰度图像应用抖动处理,即将其转换为一组黑白像素的图案,看起来与原始灰度图像相同。
> 另见:`pbmreduce`。
> 更多信息:<https://netpbm.sourceforge.net/doc/pamditherbw.html>。
- 读取PGM图像应用抖动并保存到文件
`ppmditherbw {{path/to/image.pgm}} > {{path/to/file.pgm}}`
- 使用指定的量化方法:
`ppmditherbw -{{floyd|fs|atkinson|threshold|hilbert|...}} {{path/to/image.pgm}} > {{path/to/file.pgm}}`
- 使用Atkinson量化方法和指定的伪随机数生成器的种子
`ppmditherbw -atkinson -randomseed {{1337}} {{path/to/image.pgm}} > {{path/to/file.pgm}}`
- 为执行某种阈值处理的量化方法指定阈值:
`ppmditherbw -{{fs|atkinson|thresholding}} -value {{0.3}} {{path/to/image.pgm}} > {{path/to/file.pgm}}`