.TL
Jbigtopnm User Manual
.SH 1
Jbigtopnm
.LP
Updated: 19 November 2003
.br
Table Of Contents
.SH 2
NAME
.LP
jbigtopnm - JBIG to PNM image file converter
.SH 2
SYNOPSIS
.LP
\fBjbigtopnm\fR
[\fIoptions\fR]
[\fIinput-file\fR [\fIoutput-file\fR]]
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
\fBjbigtopnm\fR reads a JBIG bi-level image entity (BIE) from a
file or standard input, decompresses it, and outputs a PBM or PGM
file. If the input has one plane, or you choose just one plane of it,
the output is PBM. Otherwise, the output is PGM.
.LP
JBIG is a highly effective lossless compression algorithm for
bi-level images (one bit per pixel), which is particularly suitable
for scanned document pages.
.LP
A JBIG encoded image can be stored in several resolutions in one or
several BIEs. All resolution layers except the lowest one are stored
efficiently as differences to the next lower resolution layer. You
can use options \fB-x\fR and \fB-y\fR to stop the decompression at a
specified maximal output image size. The input file can consist of
several concatenated BIEs which contain different increasing
resolution layers of the same image.
.SH 2
OPTIONS
.LP
.RS
.IP "\fB-x\fR \fInumber\fR"
Decode only up to the largest resolution layer which is still not
more than \fInumber\fR pixels wide. If no such resolution layer
exists, then use the smallest one available.
.IP "\fB-y\fR\fI number\fR"
Decode only up to the largest resolution layer which is still not
more than \fInumber\fR pixels high. If no such resolution layer
exists, then use the smallest one available. You can also use options
\fB-x\fR and \fB-y\fR together which selects the largest layer that
satisfies both limits.
.IP "\fB-b\fR"
Use binary values instead of Gray code words in order to decode
pixel values from multiple bitplanes. This option has effect only if
the input has more than one bitplane and you don't select just one of
those bitplanes. Note that the decoder has to be used in the same
mode as the encoder and cannot determine from the BIE, whether Gray or
binary code words were used by the encoder.
.IP "\fB-d\fR"
Diagnose a BIE. With this option, \fBjbigtopnm\fR only prints a
summary of the header information found in the input file and then
exits.
.IP "\fB-p\fR\fI number\fR"
If the input contains multiple bitplanes, then extract only the
specified single plane as a PBM file. The first plane has number 0.
.RE
.SH 2
STANDARDS
.LP
.LP
This program implements the JBIG image coding algorithm as
specified in ISO/IEC 11544:1993 and ITU-T T.82(1993).
.SH 2
AUTHOR
.LP
.LP
\fBjbigtopnm\fR is based on the JBIG library by Markus Kuhn, part
of his \fBJBIG-KIT\fR
package. The \fBjbgtopbm\fR program is part of the
\fBJBIG-KIT\fR package.
.LP
\fBjbigtopnm\fR is part of the Netpbm package of graphics tools.
.SH 2
SEE ALSO
.LP
\fBpnm\fR,
\fBpnmtojbig\fR
.SH 2
LICENSE
.LP
If you use \fBjbigtopnm\fR, you are using various patents,
particularly on its arithmetic encoding method, and in all probability
you do not have a license from the patent owners to do so.
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNOPSIS
.IP \(bu
DESCRIPTION
.IP \(bu
OPTIONS
.IP \(bu
STANDARDS
.IP \(bu
AUTHOR
.IP \(bu
SEE ALSO
.IP \(bu
LICENSE
.LP
|