CCITT G3/G4 Compression - Pocket PC
2002 SDK
LEADTOOLS offers more
compression options than any other Pocket PC 2002 toolkit
on the market. LEADTOOLS supports industry standard and
proprietary alternative compression algorithms including:
CCITT G3/G4 Compression
Both Group 3 and Group 4 encode the source
image line by line. The difference between the two schemes
is in the way the two standards handle successive scanlines.
In Group 3 1-D,
each scanline is encoded independently, whereas
in Group 4, scanlines are encoded with reference to the
previous one, resulting in improved compression ratios.
In Group 3 1-D, a scanline is encoded as a
set of runs, each representing a number of white or black
pixels, with white runs alternating with black runs. Every
run is encoded using a variable number of bits, which can
be uniquely identified upon decoding. This means that frequently
occurring lengths of run may be encoded very efficiently,
while infrequent ones cause the data to grow. For example,
a white run of 2 or 3 pixels can be encoded using just 2
bits, while a run of 1000 pixels can be encoded in 25.
Group 4 encoding is more complex as compared
to Group 3 encoding. Each scanline is compared with the
previous one. Because of this, vertical features in the
source image are used to achieve high compression ratios.
There is also a G3 2-D. G3 2-D is a combination
of G3 1-D and G4 compression schemes
Back to the Pocket
PC 2002 Main Page
LEADTOOLS Sales:
704-332-5532 | sales@leadtools.com
LEADTOOLS Support: 704-372-9681 | support@leadtools.com
Products
| Downloads
| Order
| Support
| Corporate
| News
|