1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-29 21:35:32 +02:00
tldr/pages/common/spottopgm.md
Juri Dispan 3f78c1f040
spottopgm, rlatopam, rgb3toppm, ppmtorgb3: add pages (#15354)
* fix ci

* spottopgm, rlatopam, rgb3toppm, ppmtorgb3: add pages

* fix typo
2024-12-28 13:45:15 +01:00

515 B

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}}