pamflip, pnmcolormap, pnmquant, pnmremap, pnmrotate, ppmquant: add pages (#11800)

* pamflip, pnmcolormap, pnmquant, pnmremap, pnmrotate, ppmquant: add pages

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
Juri Dispan
2023-12-21 07:03:10 +01:00
committed by GitHub
parent 5c0c622ef2
commit 13dc362fa8
6 changed files with 93 additions and 0 deletions

16
pages/common/pnmrotate.md Normal file
View File

@@ -0,0 +1,16 @@
# pnmrotate
> Rotate a PNM image.
> More information: <https://netpbm.sourceforge.net/doc/pnmrotate.html>.
- Rotate a PNM image by some angle (measured in degrees, counter-clockwise):
`pnmrotate {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`
- Specify the background color exposed by rotating the input image:
`pnmrotate -background {{color}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`
- Disable anti-aliasing, improving performance but decreasing quality:
`pnmrotate -noantialias {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`