comparison mupdf-source/thirdparty/jbig2dec/jbig2dec.1 @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 .TH jbig2dec 1 "2023 May 19" "Version 0.20" "jbig2dec Manual"
2
3 .SH NAME
4 jbig2dec \- File format converter specialized in JBIG2 decoding
5
6 .SH SYNOPSIS
7 .B jbig2dec
8 .RI [ options ]
9 .I file.jbig2
10 .br
11 .B jbig2dec
12 .RI [ options ]
13 .I global-stream page-stream
14
15 .SH DESCRIPTION
16 The
17 .B jbig2dec
18 command converts JBIG2 files to png or pbm files.
19
20 When passed a single
21 .I file
22 argument it is interpreted as a JBIG2 file stream, with either
23 sequential or random-access organization.
24
25 When passed two stream arguments, they are interpreted as the
26 global and page-specific portions of an embedded organization,
27 as used in PDF. If a particular page references no global
28 segment stream, /dev/null can be passed for the
29 .I global-stream
30 argument to request the embedded parser.
31
32 .SH OPTIONS
33 The options are as follows:
34 .TP
35 .BR -e ", " --embedded
36 Expect embedded bit stream without file header.
37 .TP
38 .BI -o " file" ", --output" " file"
39 Store the decoded output in
40 .IR file .
41 Defaults to the input with a different extension.
42 Set to \fI-\fR for standard output.
43 .TP
44 .BI -t " type" ", --format" " type"
45 Force a particular output file format. Supported are \fIpng\fR and
46 \fIpbm\fR.
47 .TP
48 .BR -d ", " --dump
49 Print the structure of the JBIG2 file rather than explicitly decoding it.
50 .TP
51 .BR -m ", " --hash
52 Print a hash of the decoded document.
53 .TP
54 .BR -q ", " --quiet
55 Suppress warnings and other diagnostic output.
56 .TP
57 .BR -v ", " --verbose
58 Report additional information about the decoding process.
59 Pass just \fB-v\fR for information about the file as it's being decoded.
60 This is the same as \fB--verbose=2\fR.
61 Pass \fB--verbose=3\fR or higher for debugging information.
62 .TP
63 .BR -V ", " --version
64 Show program version information.
65 .TP
66 .BR -h ", " --help
67 Show usage summary.
68
69 .SH REPORTING BUGS
70 Report bugs at https://bugs.ghostscript.com
71
72 Contact the developers on Discord: https://discord.gg/taPnFQp5gb
73 or via the mailing list <gs-devel@ghostscript.com>.
74
75 .SH AUTHOR
76 This manpage was initially written by Sebastian Rasmussen
77 <sebras@gmail.com> for jbig2dec and the Debian Project.