/pdf2djvu

PDF to DjVu converter

Primary LanguageC++GNU General Public License v2.0GPL-2.0

Overview

pdf2djvu creates DjVu files from PDF files.

It's able to extract:

  • graphics,
  • text layer,
  • hyperlinks,
  • document outline (bookmarks),
  • metadata (including XMP metadata).

pdf2djvu is developed primarily for Unix-like systems, but a Windows distribution is available too.

Prerequisites

The following software is required to build pdf2djvu:

  • C++11 compiler;
  • GNU make;
  • DjVuLibre (≥ 3.5.25), both the library and the command line tools;
  • Poppler (≥ 0.35), including xpdf headers;
  • pkg-config.

The following software is recommended:

  • gettext for internationalization;
  • Exiv2 and libuuid (part of util-linux or e2fsprogs) for correctly dealing with XMP metadata;
  • GraphicsMagick for the --fg-colors=N option.

For the -j/--jobs option, the compiler must support OpenMP.

To run the tests, the following software is needed:

To correctly convert some PDF files (mostly in Chinese, Japanese or Korean), the poppler-data package must be installed.