Comparison of Advanced Compression for Bitonal Images

This study extends the example tables for JBIG2-compressed PDF at both the Adobe and CVision websites, and then also adds a study of typical technical papers.  Use this study to see for yourself the relative merits of advanced compression technologies for both DjVu and PDF, as applied to bitonal scanned images.

Use the displayed sizes to compare the compression effectiveness.  Click the size hyperlinks to open files to compare actual performance.


Adobe Study - Extended
A comparison by James Rile, PlanetDjVu, Sept. 19, 2002, updated Oct. 22, 2002
...a DjVu and CVision JBIG2-PDF extension of...


Document

PDF Image with G4 Comp-
ression

PDF Image with JBIG2 Comp-
ression
(Capture)

PDF Image with JBIG2 Comp-
ression
(CVision)

DjVu Image using JB2 Comp-
ression

Searchable Image with Group 4 Comp-
ression

Searchable Image with JBIG2 Comp-
ression
(Capture)

Searchable Image with JBIG2 Comp-
ression
(CViison)

Searchable Image DjVu using JB2 Comp-
ression
Contract
Annual
Report
Technical
Report
Patent

Total

5.84M

1.11M

921k

897k

5.13M

1.61M

1.055M

1.12M
Average
100%
19%
16%
15%
100%
31%
18%
22%

Comparison Notes:

All Adobe and CVision PDF files have been copied to the PlanetDjVu server, so you can make a good comparison of the relative performance and speed of PDF and DjVu files.

Remember, it is not just file size that is a factor in web performance, it is also file format design and the file viewer plug-in design.  I notice a short lag time in the decoding of JBIG2-compressed PDF pages from Capture, while there is barely any lag time at all PDF pages from CVIision and in DjVu.  Check for yourself!

DjVu files were produced (and OCRed) at the Any2DjVu conversion server.
CVision JBIG2-PDF files were produced by CVIsion using the latest Build 19 of their compressor.

CVision has introduced some clever text compression in addition to JBIG2 compression, which is why their OCRed JBIG2-PDF is actually smaller than DjVu!


CVision Study - Extended
A comparison by James Rile, PlanetDjVu, May 14, 2002, updated Oct. 4, 2002
...a DjVu and Acrobat Capture JBIG2-PDF extension of...

Reports
TIFF Group IV size (bytes)
PDF size (bytes)
JBIG2 size (bytes)
JBIG2-PDF size (bytes)
Capture
JBIG2-PDF size (bytes)
cVision  
DjVu size (bytes)
Starr report page 39
 8,589
Patents
TIFF Group IV size (bytes)
PDF size (bytes)
JBIG2 size (bytes)
JBIG2-PDF size (bytes)
Capture
JBIG2-PDF size (bytes)
cVision  
DjVu  size (bytes)
US Patent #US06122289
 155,982
 169,589  
Books
TIFF Group IV size (bytes)
PDF size (bytes)
JBIG2 size (bytes)
JBIG2-PDF size (bytes)
Capture
JBIG2-PDF size (bytes)
cVision   
DjVu  size (bytes)
 Page1
  19,624

Legal
TIFF Group IV size (bytes)
PDF size (bytes)
JBIG2 size (bytes)
JBIG2-PDF size (bytes)
Capture
JBIG2-PDF size (bytes)
cVision   
DjVu  size (bytes)
Legal Page 1
 11,335
 12,890  

Financial
TIFF Group IV size (bytes)
PDF size (bytes)
JBIG2 size (bytes)
JBIG2-PDF size (bytes)
Capture
JBIG2-PDF size (bytes)
cVision  
DjVu  size (bytes)
Financial Contract 1
 150,757
 163,893  

Fax
TIFF Group IV size (bytes)
PDF size (bytes)
JBIG2 size (bytes)
JBIG2-PDF size (bytes)
Capture
JBIG2-PDF size (bytes)
cVision   
DjVu  size (bytes)
CCITT image 4
  11,792
 13,408  

Totals
TIFF Group IV size (bytes)
PDF size (bytes)
JBIG2 size (bytes)
JBIG2-PDF size (bytes)
Capture
JBIG2-PDF size (bytes)
cVision    
DjVu  size (bytes)
Size
 2,560,520
 2,684,641
 358,079
443,010
 392,156
 317,448
Percent
 100%
 105%
 14%
17.3%
 15.3%
 12.4%

NOTE: You need Adobe Acrobat Reader 5.0 or later to view JBIG2-encoded PDF files.

 
Technical Paper Comparison from JRA

This is a set of 59 technical papers presented at a symposium.  The scanned text is clean and only one or two fonts are used.  This study demonstrates compression levels that can be achieved with the scanning and conversion of clean, laser-printed scientific and technical papers.

Notes:

To view CIF files, you need the CVista Viewer Plug-in, available from: http://www.cvisiontech.com/cvista_viewer.html

To view DjVu files, you need the DjVu Web Browser Plugin, available from:

To view JBIG2-PDF files, you need Acrobat Reader 5.0 or above.

To compare the different formats, you want to test performance and factor these results with the compression levels achieved.  Performance is best measured using files that have not yet been opened, and are therefore not in the browser's cache - they are directly opened from the URL address.   You have plenty of unopened file links to test with below.

We observe that JBIG2-PDF files from CVision display faster than JBIG2-PDF from Acrobat Capture, due to faster decoding in the Acrobat Reader Plugin. DjVu files display twice as fast as any PDF alternative, due to having a file and plugin that is designed specifically for web delivery.

Filename
TIFF-G4
300 dpi
PDF
300 dpi
PDF
240 dpi
JBIG2-PDF 300 dpi
Capture
JBIG2-PDF 300 dpi
CVision
CIF
300 dpi
DjVu
300 dpi
001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
017
018
019
020
021
022
023
024
025
026
027
028
029
030
031
032
033
034
035
036
037
038
039
040
041
042
043
044
045
046
047
048
049
050
051
052
053
054
055
056
057
058
059
Total
27.222
31.049
24.73
9.95
7.48
6.413
6.776
Percent
100%
114%
91%
37%
27%
24%
25%
TIFF-G4
300 dpi
PDF
300 dpi
PDF
240 dpi
JBIG2-PDF 300 dpi
Capture
JBIG2-PDF 300 dpi
CVision
CIF
300 dpi
DjVu
300 dpi






















Hosted by uCoz