pgmtost4 Command Examples

Convert a PGM image to the SBIG ST-4 format. More information: https://netpbm.sourceforge.net/doc/pgmtost4.html.

pgmtost4 {{path/to/input_file.pgm}} > {{path/to/output.st4}}