jbig2轉其它格式(支持png,pbm)

https://www.jbig2dec.com/

下載源碼編譯

./configure CC=arm-linux-gnueabi-gcc --host=arm-linux-gnueabi

 

Usage: jbig2dec [options] <file.jbig2>
   or  jbig2dec [options] <global_stream> <page_stream>

  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
       --version   program name and version information
       --hash      print a hash of the decoded document
    -e --embedded  expect embedded bit stream without file header
    -o <file>      send decoded output to <file>
                   Defaults to the the input with a different
                   extension. Pass '-' for stdout.
    -t <type>      force a particular output file format
                   supported options are 'png' and 'pbm'

執行

./jbig2dec image_102.jb2 -o unkn.png

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章