pgmtosbig

Convert a PGM image to the SBIG CCDOPS format. More information: https://netpbm.sourceforge.net/doc/pgmtosbig.html.

pgmtosbig path/to/input_file.pgm > path/to/output.sbig