jbig2dec(1)
π jbig2dec(1) β the jbig2dec Manual, but make it cute π
okay bestie, pull up a chair, we're decoding JBIG2 files and we're gonna have a time β¨
πΈ NAME πΈ
jbig2dec β a file format converter that is specialized in JBIG2 decoding. like, that's her whole thing. that's her lane. she is not like other converters π
π SYNOPSIS π
jbig2dec [options] file.jbig2
jbig2dec [options] global-stream page-stream
π¦ DESCRIPTION π¦
so the jbig2dec command converts JBIG2 files to png or pbm files. that's the vibe. that's the whole job. π
when you pass her a single file argument, she reads it as a JBIG2 file stream β and it can be organized either sequential or random-access. she's flexible like that, no cap.
when you pass her two stream arguments, they get interpreted as the global and page-specific portions of an embedded organization, exactly like the ones used in PDF. πβ¨ and listen β if a particular page doesn't reference any global segment stream, you can just pass /dev/null as the global-stream argument to request the embedded parser. iconic shortcut behavior, honestly.
β¨ OPTIONS β¨
the options are as follows, and yes we're doing all of them, nobody gets left behind π«Ά
-e,--embeddedβ expect an embedded bit stream without a file header. no header, just vibes.-o file,--output fileβ store the decoded output in file. defaults to the input filename but with a different extension. set it to-for standard output. (yes, dash means stdout, classic.)-t type,--format typeβ force a particular output file format. supported formats arepngandpbm. pick your fighter π₯-d,--dumpβ print the structure of the JBIG2 file instead of actually decoding it. like reading the blueprint instead of building the house ποΈ-m,--hashβ print a hash of the decoded document. for the checksum girlies π₯-q,--quietβ suppress warnings and other diagnostic output. shhh π€«-v,--verboseβ report additional information about the decoding process. pass just-vfor info about the file as it's being decoded β that's the same as--verbose=2. pass--verbose=3or higher for debugging information. she will tell you everything, and honestly? love that for her π-V,--versionβ show program version information.-h,--helpβ show usage summary. (hi bestie π)
π REPORTING BUGS π
found a bug? report it at https://bugs.ghostscript.com β they wanna know, fr fr.
you can also contact the developers on Discord: https://discord.gg/taPnFQp5gb or via the mailing list <gs-devel@ghostscript.com>. group chat energy, but make it upstream. π«Ά
π AUTHOR π
this manpage was initially written by Sebastian Rasmussen <sebras@gmail.com> for jbig2dec and the Debian Project. absolute legend behavior, we stan π
okay that's the whole page bestie, go decode something gorgeous π
and that's a wrap! this was Version 0.20, dated 2023 May 19, from the jbig2dec Manual β mwah, bye, ilysm, go convert some files πβ¨π
π¦ where this page comes from
- alpine 3.22: jbig2dec-doc 0.20-r0 Β· AGPL-3.0-or-later
- alpine 3.23: jbig2dec-doc 0.20-r0 Β· AGPL-3.0-or-later
- alpine 3.24: jbig2dec-doc 0.20-r0 Β· AGPL-3.0-or-later
- arch rolling: jbig2dec 0.20-2 Β· GPL3
- debian trixie: jbig2dec 0.20-1+b3 Β· AGPL-3.0-or-later
- debian trixie: jbig2dec 0.20-1+deb13u1 Β· AGPL-3.0-or-later
- fedora 43: jbig2dec 0.20-7.fc43 Β· AGPL-3.0-or-later
- fedora 44: jbig2dec 0.20-8.fc44 Β· AGPL-3.0-or-later
- nixos 26.05: jbig2dec 0.20
- nixpkgs unstable: jbig2dec 0.20
- opensuse-leap 16.0: jbig2dec 0.20-bp160.1.13 Β· AGPL-3.0-or-later
- opensuse-leap 16.0: jbig2dec 0.20-bp160.1.13 Β· AGPL-3.0-or-later
- opensuse-leap 16.0: jbig2dec 0.20-bp160.1.13 Β· AGPL-3.0-or-later
- opensuse-leap 16.0: jbig2dec 0.20-bp160.1.13 Β· AGPL-3.0-or-later
- ubuntu noble: jbig2dec 0.20-1build3 Β· AGPL-3.0-or-later
- ubuntu noble: jbig2dec 0.20-1ubuntu0.24.04.1 Β· AGPL-3.0-or-later
- ubuntu questing: jbig2dec 0.20-1build3
- ubuntu resolute: jbig2dec 0.20-1build4 Β· AGPL-3.0-or-later
- ubuntu resolute: jbig2dec 0.20-1ubuntu0.26.04.1 Β· AGPL-3.0-or-later
- ubuntu stonking: jbig2dec 0.20-1ubuntu1 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms