DJVUTXT(1)
π DJVUTXT(1) β bestie edition π
okay so this is djvutxt, part of DjVuLibre-3.5, and it's literally the little icon that pulls the secret text out of your DjVu files. Pull up a chair π«Ά
β¨ NAME β¨
djvutxt β extract the hidden text from DjVu documents. yes bestie, the text was in there the WHOLE time π
πΈ SYNOPSIS πΈ
djvutxt [options] inputdjvufile [outputtxtfile]
π¦ DESCRIPTION π¦
So djvutxt decodes the hidden text layer of a DjVu document called inputdjvufile, and then prints it into outputtxtfile β or, if you didn't give it a file, straight onto the standard output. slay.
That hidden text layer? It's usually made with the help of some optical character recognition software. iykyk π
Now, the vibe check on output modes: without the -detail and -escape options, this program simply outputs the UTF-8 text. that's it. that's the whole girl.
-detailmakes it output S-expressions describing the text and its location π-escapeuses C-style escape sequences to represent nonprintable non-ASCII characters π
π OPTIONS π
--page=pagespecβ tells it which pages should be processed π―ββοΈ When this option is not specified, the text of all pages of the document gets concatenated into the output file. The page specification pagespec contains one or more comma-separated page ranges. A page range is either a page number, or two page numbers separated by a dash. For instance, specification1-10outputs pages 1 to 10, and specification1,3,99999-4outputs pages 1 and 3, followed by all the document pages in reverse order up to page 4. not me going backwards through a document π iconic behavior fr fr.--detail=keywordβ this option causesdjvutxtto output S-expressions specifying the position of the text in the page π See the manual pagedjvused(1)for a description of the output format. The argument keyword specifies the maximum level of detail for which text location is reported. The recognized values are:page,column,region,para,line,word, andchar. All other values are interpreted aschar. periodt β¨--escapeβ outputs escape sequences of the form"ooo"for all non ASCII or non printable UTF-8 characters and for the backslash character πͺ very demure, very mindful, very ASCII-safe.
π REMARKS π
Use program djvused(1) for more control over the text layer π she's the main character, djvutxt is the supporting bestie.
β CREDITS β
This program was initially written by Andrei Erofeev <andrew_erofeev@yahoo.com> and was then improved by Bill Riemers <docbill@sourceforge.net> and many others. It was then rewritten to use the ddjvuapi by Leon Bottou <leonb@sourceforge.net>. three glow-ups, one program, we love a collaborative queen π
π SEE ALSO π
and that's the whole page bestie!! this one is from DjVuLibre-3.5, dated 10/11/2001 π go forth and extract that hidden text, you absolute legend πβ¨π¦
π¦ where this page comes from
- alpine 3.24: djvulibre-doc 3.5.30-r0 Β· GPL-2.0-only
- arch rolling: djvulibre 3.5.30.1-1 Β· GPL-2.0-or-later
- debian bookworm: djvulibre-bin 3.5.28-2.1~deb12u1
- debian bookworm: djvulibre-bin 3.5.28-2.2~deb12u1
- debian trixie: djvulibre-bin 3.5.28-2.2
- epel 10: djvulibre 3.5.28-13.el10_0 Β· GPL-2.0-or-later
- epel 9: djvulibre 3.5.28-4.el9 Β· GPLv2+
- fedora 43: djvulibre 3.5.28-14.fc43 Β· GPL-2.0-or-later
- fedora 43: djvulibre 3.5.30-1.fc43 Β· GPL-2.0-or-later
- fedora 44: djvulibre 3.5.28-16.fc44 Β· GPL-2.0-or-later
- fedora 44: djvulibre 3.5.30-1.fc44 Β· GPL-2.0-or-later
- nixos 26.05: djvulibre 3.5.29
- nixpkgs unstable: djvulibre 3.5.30
- opensuse-leap 16.0: djvulibre 3.5.28-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: djvulibre 3.5.28-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: djvulibre 3.5.28-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: djvulibre 3.5.28-160000.2.2 Β· GPL-2.0-or-later
- ubuntu jammy: djvulibre-bin 3.5.28-2build2
- ubuntu jammy: djvulibre-bin 3.5.28-2ubuntu0.22.04.2
- ubuntu noble: djvulibre-bin 3.5.28-2build4
- ubuntu noble: djvulibre-bin 3.5.28-2ubuntu0.24.04.2
- ubuntu questing: djvulibre-bin 3.5.28-2.2
- ubuntu resolute: djvulibre-bin 3.5.29-1
- ubuntu stonking: djvulibre-bin 3.5.30-1
- Copyright (c) 2001-2003 Leon Bottou, Yann Le Cun, Patrick Haffner
- Copyright (c) 2001 AT&T Corp., and Lizardtech, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms