Examples (3)
Convert the specified SPOT image to PGM format
spottopgm path/to/file.spot > path/to/output.pgmExtract the specified color channel
spottopgm -1|2|3 path/to/file.spot > path/to/output.pgmExtract the specified rectangle from the input image
spottopgm first_col first_row last_col last_row path/to/file.spot > path/to/output.pgmmade by @shridhargupta | data from tldr-pages