1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 10:15:33 +02:00

pamditherbw: fix typo (#17315)

This commit is contained in:
Managor 2025-07-22 19:37:46 +03:00 committed by GitHub
parent 2ee99a19d8
commit beb5805540
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,16 +6,16 @@
- Read a PGM image, apply dithering and save it to a file: - Read a PGM image, apply dithering and save it to a file:
`ppmditherbw {{path/to/image.pgm}} > {{path/to/file.pgm}}` `pamditherbw {{path/to/image.pgm}} > {{path/to/file.pgm}}`
- Use the specified quantization method: - Use the specified quantization method:
`ppmditherbw -{{floyd|fs|atkinson|threshold|hilbert|...}} {{path/to/image.pgm}} > {{path/to/file.pgm}}` `pamditherbw -{{floyd|fs|atkinson|threshold|hilbert|...}} {{path/to/image.pgm}} > {{path/to/file.pgm}}`
- Use the atkinson quantization method and the specified seed for a pseudo-random number generator: - Use the atkinson quantization method and the specified seed for a pseudo-random number generator:
`ppmditherbw {{[-a|-atkinson]}} {{[-r|-randomseed]}} {{1337}} {{path/to/image.pgm}} > {{path/to/file.pgm}}` `pamditherbw {{[-a|-atkinson]}} {{[-r|-randomseed]}} {{1337}} {{path/to/image.pgm}} > {{path/to/file.pgm}}`
- Specify the thresholding value for quantization methods that perform some sort of thresholding: - Specify the thresholding value for quantization methods that perform some sort of thresholding:
`ppmditherbw -{{fs|atkinson|thresholding}} {{[-va|-value]}} {{0.3}} {{path/to/image.pgm}} > {{path/to/file.pgm}}` `pamditherbw -{{fs|atkinson|thresholding}} {{[-va|-value]}} {{0.3}} {{path/to/image.pgm}} > {{path/to/file.pgm}}`