Using the JBIG-KIT library
Markus Kuhn -- 2004-06-10
This text explains how to use the functions provided by the JBIG-
portable image compression library in your application software.
1 Introduction to JBIG
We start with a short introduction to JBIG1. More detailed
is provided in the "Introduction and overview" section of the
standard. Information on how to obtain a copy of the standard is
available from <http://www.itu.int/> or <http://www.iso.ch/>.
Image data encoded with the JBIG algorithm is separated into
layers, and stripes. Each plane contains one bit per pixel. The
of planes stored in a JBIG data stream is the number of bits per
pixel. Resolution layers are numbered from 0 to D with 0 being
layer with the lowest resolution and D the one with the highest.
next higher resolution layer has twice the number of rows and
Layer 0 is encoded independently of any other data, all other
resolution layers are encoded as only the difference between the
lower and the current layer. For applications that require very
access to parts of an image, it is possible to divide an image
several horizontal stripes. All stripes of one resolution layer
equal size, except perhaps the final one. The number of stripes
image is equal in all resolution layers and in all bit planes.
The compressed data stream specified by the JBIG standard is