1Jbigtopnm User Manual(0) Jbigtopnm User Manual(0)
2
3
4
6 jbigtopnm - JBIG to PNM image file converter
7
8
10 jbigtopnm [-xmax] [-ymax] [-binary] [-diagnose] [-plane] [input-file
11 [output-file]]
12
13 Minimum unique abbreviation of option is acceptable. You may use dou‐
14 ble hyphens instead of single hyphen to denote options. You may use
15 white space in place of the equals sign to separate an option name from
16 its value.
17
18
19
21 This program is part of Netpbm(1).
22
23 jbigtopnm reads a JBIG bi-level image entity (BIE) from a file or stan‐
24 dard input, decompresses it, and outputs a PBM or PGM file. If the
25 input has one plane, or you choose just one plane of it, the output is
26 PBM. Otherwise, the output is PGM.
27
28 JBIG is a highly effective lossless compression algorithm for bi-level
29 images (one bit per pixel), which is particularly suitable for scanned
30 document pages.
31
32 A JBIG encoded image can be stored in several resolutions in one or
33 several BIEs. All resolution layers except the lowest one are stored
34 efficiently as differences to the next lower resolution layer. You can
35 use options -x and -y to stop the decompression at a specified maximal
36 output image size. The input file can consist of several concatenated
37 BIEs which contain different increasing resolution layers of the same
38 image.
39
40
42 Before Netpbm 10.85 (December 2018), only single-character single-
43 hyphen abbreviations of the options are accepted.
44
45
46
47
48 -x number
49 Decode only up to the largest resolution layer which is still
50 not more than number pixels wide. If no such resolution layer
51 exists, then use the smallest one available.
52
53
54 -y number
55 Decode only up to the largest resolution layer which is still
56 not more than number pixels high. If no such resolution layer
57 exists, then use the smallest one available. You can also use
58 options -x and -y together which selects the largest layer that
59 satisfies both limits.
60
61
62 -b Use binary values instead of Gray code words in order to decode
63 pixel values from multiple bitplanes. This option has effect
64 only if the input has more than one bitplane and you don't
65 select just one of those bitplanes. Note that the decoder has
66 to be used in the same mode as the encoder and cannot determine
67 from the BIE, whether Gray or binary code words were used by the
68 encoder.
69
70
71 -d Diagnose a BIE. With this option, jbigtopnm only prints a sum‐
72 mary of the header information found in the input file and then
73 exits.
74
75
76 -p number
77 If the input contains multiple bitplanes, then extract only the
78 specified single plane as a PBM file. The first plane has num‐
79 ber 0.
80
81
82
83
85 This program implements the JBIG image coding algorithm as specified in
86 ISO/IEC 11544:1993 and ITU-T T.82(1993).
87
88
90 jbigtopnm is based on the JBIG library by Markus Kuhn, part of his
91 JBIG-KIT package ⟨http://www.cl.cam.ac.uk/~mgk25/jbigkit/⟩ . The jbg‐
92 topbm program is part of the JBIG-KIT package.
93
94 jbigtopnm is part of the Netpbm package of graphics tools.
95
96
98 pnm(1), pnmtojbig(1)
99
100
102 If you use jbigtopnm, you are using various patents, particularly on
103 its arithmetic encoding method, and in all probability you do not have
104 a license from the patent owners to do so.
105
107 This manual page was generated by the Netpbm tool 'makeman' from HTML
108 source. The master documentation is at
109
110 http://netpbm.sourceforge.net/doc/jbigtopnm.html
111
112netpbm documentation 29 September 2018 Jbigtopnm User Manual(0)