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

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值