This is an encoder for [JBIG2](fcd14492.pdf).
JBIG2 encodes bi-level (1 bpp) images using a number of clever tricks to get
better compression than G4. This encoder can:
* Generate JBIG2 files, or fragments for embedding in PDFs
* Generic region encoding
* Perform symbol extraction, classification and text region coding
* Perform refinement coding and,
* Compress multipage documents
It uses the (Apache-ish licensed) Leptonica library:
http://leptonica.com/
You'll need version 1.68.
## Known bugs
The refinement coding causes Acrobat to crash. It's not known if this is a bug
in Acrobat, though it may well be.
## Usage
See the `jbig2enc.h` header for the high level API, or the `jbig2` program for an
example of usage:
```
$ jbig2 -s -p -v *.jpg && pdf.py output >out.pdf
```
to encode jbig2 files for pdf creation.
If you want to encode an image and then view output first to include in pdf
```
$ jbig2 -s -S -p -v -O out.png *.jpg
```
If you want to encode an image as jbig2 (can be view in STDU Viewer) run:
```
$ jbig2 -s feyn.tif >feyn.jb2
```
jbig二值图像压缩算法编码实现
1星 需积分: 49 186 浏览量
2018-09-14
15:12:13
上传
评论
收藏 1.06MB RAR 举报
chuifeng56
- 粉丝: 3
- 资源: 6
最新资源
- HandTrackingModule.py
- Python基于卷积神经网络的鸟类识别项目源代码,ipynb文件
- 批量将py编译为pyd文件.atbx
- Python项目-学生管理系统
- 图像处理基于matlab图像RGB三色合成分离【含Matlab源码第1发】
- verilog HDL硬件语法设计包括算术运算三人表决器Verilog的阻塞和非阻塞赋值源码例程quartus13.1工程合集
- 【文章话题分类论文】OpenAlex Topic Classification Whitepaper
- linux学习常用命令
- 功率拓扑快速参考指南-ti,TI官方出品
- 开源2023电赛国赛运动目标控制(E题)视觉部分
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈