A Technical Comparison between PDF and DJVU

本文对比了PDF和DJVU两种文档格式的特点和技术细节,包括它们的布局、字符处理方式、矢量图形及栅格图像的编码技术,并讨论了OCR支持情况。PDF凭借其高质量和高压缩率成为书籍数字化呈现的主流选择。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Item

PDF

DJVU

Description of Layout

Driven by (a subset of) PostScript

Structure (brief)

object based, offset of indirect objects

described with device independent Cartesian coordinate system

Characters

Font-based

Rendering characters as images

Imaging Features

described with device independent Cartesian coordinate system, named graphical elements

Vector Graphics

Constructed with Paths, as defined in PostScript, with various patterns

Not mentioned
Likely not supported

Raster Images
(coding techniques)

<!--[if !supportLists]-->1. <!--[endif]-->ASCII Coding
(somewhat deprecated)

<!--[if !supportLists]-->2. <!--[endif]-->Run-length coding

<!--[if !supportLists]-->3. <!--[endif]-->Dictionary coding, LZW, FLATE, …

<!--[if !supportLists]-->4. <!--[endif]-->Built-in compressor with prevailing image compression standards: JPEG; JBIG(PDF1.4); JPEG2000(PDF 1.5)

<!--[if !supportLists]-->1. <!--[endif]-->3-level text-background
separation, specified IW44
wavelet compression for
background and foreground, JB2 for bi-level mask image, which takes advantage of the similarity between shapes on the page, e.g.
nearly-identicalness of literal symbols of same character and font.

<!--[if !supportLists]-->2. <!--[endif]-->Arithmetic coding

<!--[if !supportLists]-->3. <!--[endif]-->Progressive loading

OCR

Supported

Supported

Advantage

Vector graphics

Scanned (raster) images
/ documents

high quality and high
compression rate

Conclusion

One of the most popular and practicable way of presenting book in computer

Excellent compression method for text-based image sequences

Supported elements

[All those supported by DJVU]

Sound

Interactive forms

Javascript programs

Table

Hyper link

Meta-data

DRM

Supported

Not specified

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值