How to convert DJVU to PDF

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

  • Install DjVuLibre tools on Ubuntu:
$ sudo apt install djvulibre-bin
  • Convert using the ddjvu tool:
$ ddjvu -format=pdf in.djvu out.pdf

Tried with: Ubuntu 18.04

Using djvups

  • Install DjVuLibre and Ghostscript tools on Ubuntu:
$ sudo apt install djvulibre-bin ghostscript
  • Convert DJVU to Postscript:
$ djvups in.djvu out.ps
  • Convert PS to PDF:
$ ps2pdf out.ps out.pdf

Tried with: Ubuntu 18.04

Using DJView

Export DJVU as PDF in DJView

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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.