Following the instructions from this page
I take a djvu document, check it for any sign of corruption by opening it in djvulibre and it checks out fine. Copy it to my testing folder and rename it
Perform
djvu2hocr test.djvu | sed 's/ocrx/ocr/g' > test.html
ddjvu -format=tiff test.djvu test.tif
Proceed to open the tif with evince and it checks out all pages are viewable.
Run pdfbeads
pdfbeads -o test.pdf
and get the following error:
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
Prepared data for processing test.tif
Warning: test.tif contains multiple images, but only the first one
is going to be used
JBIG2 compression complete. pages:1 symbols:2080 log2:12
Processed test.tif
The PDF opens fine, but it is only a single page and the OCR works.
Here's a link to the files copied/generated
Any suggestions?