Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

21
tldr/ppmshadow Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ppmshadow
> Add simulated shadows to a PPM image.
> More information: <https://netpbm.sourceforge.net/doc/ppmshadow.html>.
- Add simulated shadows to a PPM image:
`ppmshadow {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}`
- [b]lur the image by the specified number of pixels:
`ppmshadow -b {{n}} {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}`
- Specify the displacement of the simulated light source to the left and the top of the image:
`ppmshadow -x {{left_offset}} -y {{top_offset}} {{path/to/input_file.ppm}} > {{path/to/output_file.ppm}}`