an-fitstopnm --version (return code: 0)
an-fitstopnm: invalid option -- '-'
an-fitstopnm -i <input-file>
[-o <output-file>] (default stdout)
[-e <extension-number>] FITS extension (default 0)
[-p <plane-number>] Image plane number (default 0)
[-m <margin>] Number of pixels to avoid at the image edges (default 0)
[-O]: do ordinal transform (default: map 25-95 percentile)
[-L <low-percentile>]: set percentile that becomes black (default 25)
[-H <high-percentile>]: set percentile that becomes white (default 95)
[-I]: invert black-on-white image
[-X <max>]: set the input value that will become white
[-N <min>]: set the input value that will become black
[-x]: set max to the observed maximum value
[-n]: set min to the observed minimum value
[-r]: same as -x -n: set min and max to observed data range.
[-s]: write 16-bit output
[-v]: verbose
[-M]: compute & print median value
an-fitstopnm --help (return code: 0)
an-fitstopnm: invalid option -- '-'
an-fitstopnm -i <input-file>
[-o <output-file>] (default stdout)
[-e <extension-number>] FITS extension (default 0)
[-p <plane-number>] Image plane number (default 0)
[-m <margin>] Number of pixels to avoid at the image edges (default 0)
[-O]: do ordinal transform (default: map 25-95 percentile)
[-L <low-percentile>]: set percentile that becomes black (default 25)
[-H <high-percentile>]: set percentile that becomes white (default 95)
[-I]: invert black-on-white image
[-X <max>]: set the input value that will become white
[-N <min>]: set the input value that will become black
[-x]: set max to the observed maximum value
[-n]: set min to the observed minimum value
[-r]: same as -x -n: set min and max to observed data range.
[-s]: write 16-bit output
[-v]: verbose
[-M]: compute & print median value