mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
spottopgm, rlatopam, rgb3toppm, ppmtorgb3: add pages (#15354)
* fix ci * spottopgm, rlatopam, rgb3toppm, ppmtorgb3: add pages * fix typo
This commit is contained in:
parent
15949a7e47
commit
3f78c1f040
4 changed files with 42 additions and 0 deletions
9
pages/common/ppmtorgb3.md
Normal file
9
pages/common/ppmtorgb3.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# ppmtorgb3
|
||||
|
||||
> Separate the color components of a PPM file into three separate PGM files.
|
||||
> See also: `rgb3toppm`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/ppmtorgb3.html>.
|
||||
|
||||
- Separate the color components of a PPM file, saving the outputs to `file.red`, `file.grn` and `file.blu`:
|
||||
|
||||
`ppmtorgb3 {{path/to/file.ppm}}`
|
9
pages/common/rgb3toppm.md
Normal file
9
pages/common/rgb3toppm.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# rgb3toppm
|
||||
|
||||
> Combine three PGM images into one PPM image.
|
||||
> See also: `ppmtorgb3`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/rgb3toppm.html>.
|
||||
|
||||
- Combine three PGM images (representing red, green and blue color components) into one PPM image:
|
||||
|
||||
`rgb3toppm {{path/to/red_file.ppm}} {{path/to/green_file.ppm}} {{path/to/blue_file.ppm}} > {{path/to/output.ppm}}`
|
8
pages/common/rlatopam.md
Normal file
8
pages/common/rlatopam.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# rlatopam
|
||||
|
||||
> Convert Alias/Wavefront RLA and RPF image files to Netpbm format.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/rlatopam.html>.
|
||||
|
||||
- Convert the specified SPOT image to PGM format:
|
||||
|
||||
`rlatopam {{path/to/file}} > {{path/to/output.pam}}`
|
16
pages/common/spottopgm.md
Normal file
16
pages/common/spottopgm.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# spottopgm
|
||||
|
||||
> Convert a SPOT satellite image to PGM format.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/spottopgm.html>.
|
||||
|
||||
- Convert the specified SPOT image to PGM format:
|
||||
|
||||
`spottopgm {{path/to/file.spot}} > {{path/to/output.pgm}}`
|
||||
|
||||
- Extract the specified color channel:
|
||||
|
||||
`spottopgm -{{1|2|3}} {{path/to/file.spot}} > {{path/to/output.pgm}}`
|
||||
|
||||
- Extract the specified rectangle from the input image:
|
||||
|
||||
`spottopgm {{first_col first_row last_col last_row}} {{path/to/file.spot}} > {{path/to/output.pgm}}`
|
Loading…
Add table
Reference in a new issue