Questions tagged [djvu]

A digital document format designed primarily for the storage and distribution of very high resolution images of scanned documents, digital documents, and photographs.

DjVu is an image file format that primarily intended for scanned images.

Through layer separation and superior compression algorithms DjVu files generally are about 20 times smaller than PDF files with scanned images at the same quality level.

Open source software handling DjVu are often based on djvulibre

23 questions
8
votes
2 answers

convert djvu to pdf

How to convert djvu2pdf ? My current approach is : djvups x.djvu > x.ps ps2pdf x.ps Is there more efficient and better (in terms of output quality, data/metadata loss) way to handle that ?
Grzegorz Wierzowiecki
  • 13,865
  • 23
  • 89
  • 137
7
votes
1 answer

How can OCRed text be preserved while converting between djvu and pdf files?

Suppose a pdf file has OCRed text. How can we convert it to a djvu file and pass the OCRed text to the djvu file? Conversely, if exchange "pdf" and "djvu" in the above? Thanks!
Tim
  • 98,580
  • 191
  • 570
  • 977
6
votes
1 answer

Problems converting PDF to DjVu

I have a PDF file (copyrighted, so I can't include it here). I'm trying to convert it to DjVu, using some online websites as well as pdf2djvu, but they all fail. In the case of pdf2djvu, the error was: PDF error: FoFiType1::parse a line has more…
Tim
  • 98,580
  • 191
  • 570
  • 977
6
votes
3 answers

Extract several pages from a djvu file

I have a djvu file of multiple pages. I wonder how to extract a new djvu file that consists of only a subset of multiple pages? For example, a djvu file has 10 pages, and I would like to extract a new djvu file consisting of pages 3-6 of the…
Tim
  • 98,580
  • 191
  • 570
  • 977
6
votes
5 answers

Good ways for annotating and searching in document (pdf, djvu)

For djvu files, I enjoy reading it in djview, because when I search for some words, it can show where all the results are at a glance, and highlight them simultaneously. This is much more convenient than the searching functionality in evince for pdf…
Tim
  • 98,580
  • 191
  • 570
  • 977
5
votes
1 answer

How to make a djvu file searchable

If I create a new djvu file out of tiff files I can use djvubind which makes the djvu file searchable using for example tesseract-ocr. However suppose I have given djvu file. How can I make it searchable? For pdf I know pdfsandwich is there…
student
  • 17,875
  • 31
  • 103
  • 169
5
votes
1 answer

How can I determine the page count of djvu documents from the CLI?

Finding the page count of a PDF document from the CLI is as simple as: pdfinfo file.pdf | grep ^Pages: How can the same be performed with a djvu file? Without converting it to a pdf and then deleting the pdf file after checking the number of pages,…
Quora Feans
  • 3,806
  • 7
  • 29
  • 46
4
votes
6 answers

How to split each page of a djvu file?

In a djvu file, it has two book pages in one djvu page. I would like to split it so that one book page per djvu page. For example, I was wondering if this can be done by some software, preferably command line utilities? Thanks and regards! PS: This…
Tim
  • 98,580
  • 191
  • 570
  • 977
4
votes
1 answer

Why isn't there a djvu2text?

This has been bothering me for a while. .djvu files are often searchable, in my experience. So somewhere in there, all the text is just one big string, right? But there's no djvu2text program. And trying to select text in a djvu reader is a bit…
ixtmixilix
  • 13,040
  • 27
  • 82
  • 118
3
votes
1 answer

How can I make annotation for djvu file when using Okular?

My OS is [03/13/2020,14:35:06@~]$ uname -a Linux debian 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux That is, Debian 10 (Buster). When in Debian 9, I can make annotation in djvu file with Okular. But now I cannot. Below is a…
azc
  • 131
  • 2
3
votes
1 answer

Cli grep through djvu files

How can I grep through djvu files? They are text files with some images in it. Is there some equivalent to pdfgrep tool?
Pierre B
  • 2,143
  • 6
  • 23
  • 38
3
votes
2 answers

Override page numbers of a djvu document

I have a djvu scan of a book. Let's consider two cases: I'd like to number the pages 0, 1, 2, ... (usage case: the cover should get be page 0) I'd like to number some pages with Roman numbers and some with Arabic numbers, for example: i, ii, iii,…
marmistrz
  • 2,732
  • 4
  • 23
  • 30
3
votes
0 answers

Standard workflow to digitize magazines or books using OCR while minimizing file size?

To scan books containing just text, black&white images and clear borders, the workflow I've been using is: digitize the source using a camera or just a scanner use scantailor finally use djvubind to make a small (1-7 MB) djvu-file with ocr…
student
  • 17,875
  • 31
  • 103
  • 169
3
votes
1 answer

Converting .okular file to pdf

I am using a djvu file, and with okular I have annotations in it. Now, I wish to be able to use this file in Mendeley, which supports only pdf extensions. I know that I can save annotations in okular using Export As -> Document Archive. But that is…
lepto
  • 31
  • 2
1
vote
1 answer

djvulibre-3.5.27 Build Error

I am currently on Linux Mint 18.3. I downloaded the package from the Djvulibre website. Here is my error: make[2]: Entering directory '/home/amucs/Downloads/djvulibre-3.5.27/desktopfiles' PNG 16x16/mimetypes/djvu.png convert: delegate failed…
CanopusX
  • 11
  • 3
1
2