Usage: jbig2dec [options] or jbig2dec [options] When invoked with a single file, it attempts to parse it as a normal jbig2 file. Invoked with two files, it treats the first as the global segments, and the second as the segment stream for a particular page. This is useful for examining embedded streams. available options: -h --help this usage summary -q --quiet suppress diagnostic output -v --verbose set the verbosity level -d --dump print the structure of the jbig2 file rather than explicitly decoding -V --version program name and version information -m --hash print a hash of the decoded document -e --embedded expect embedded bit stream without file header -M memory limit expressed in bytes -o --output send decoded output to Defaults to the the input with a different extension. Pass '-' for stdout. -t --format force a particular output file format the only supported option is 'pbm'