Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to convert DJVU to PDF

📅 2012-Nov-29 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

DjVuLibre provides open source libraries, commandline tools and GUI tools for dealing with DJVU files. So all solutions for converting a DJVU file to a PDF file will use DjVuLibre is some form. Note that it looks like all conversion options seem to produce PDF by converting every DJVU page into an image. So, the resulting PDF files will be big and much larger than the original DJVU files. There seems to be no way to produce smaller PDF files.

Using ddjvu

$ sudo apt install djvulibre-bin
$ ddjvu -format=pdf in.djvu out.pdf

Tried with: Ubuntu 18.04

Using djvups

$ sudo apt install djvulibre-bin ghostscript
$ djvups in.djvu out.ps
$ ps2pdf out.ps out.pdf

Tried with: Ubuntu 18.04

Using DJView

[caption id="attachment_2928" align="aligncenter" width="437"][ ](http://codeyarns.wordpress.com/2012/11/29/how-to-convert-djvu-to-pdf/20121129-djvu-pdf/#main) Export DJVU as PDF in DJView[/caption]

To convert a DJVU document to a PDF document:

  1. Install DjVuLibre DJView.

  2. Open the DJVU document in DJView.

  3. Choose File → Export as

  4. In the Export dialog choose PDF document, the PDF filename and path and press OK.

Note that the PDF export option seems to be missing in recent versions of DJView.

Tried with: DjVuLibre DJView 4.9 and Windows 7 Professional x64