djvu.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 27 Nov 2011 23:28:27 +0200
changeset 1099 97e0815972e0
parent 634 6773b02b8047
permissions -rw-r--r--
Switching from old to new require upgrade.

-*- mode:outline; coding: utf-8 -*-

* About djvu.

  http://djvu.org/links/
                many useful links

* Viewer.

 * DjVuLibre (all OS).
 * WinDjvu (Windows).

* Editor.

 * DjVuLibre (all OS).
 * DjVu Solo (Windows).

* DjVuLibre.

 * A full set of utilities to manipulate and assemble DjVu images and
   documents.
 * A set of decoders to convert DjVu to a number of other formats.
 * A standalone DjVu viewer for Unix under X11 (based on the Qt library).
 * A browser plugin that works with most Unix browsers

  http://djvu.sourceforge.net/

* DjVu Solo.

Tool for editing and merge files and documents in DjVu format from LizardTech.
Currently not maintained.

  http://www.djvu.org/resources/

* djvu to pdf.

** djvulibre.

  $ ddjvu -format=tiff book.djvu book.tiff
  $ tiff2pdf -o book.pdf book.tiff

* pdf to djvu.

** djvulibre.

For 'pdftoppm' install xpdf (both Linux and Cygwin).

  $ pdftoppm -mono -r 600 -aa yes $PDF $PDF
  $ for PBM in $PDF*.pbm; do  cjb2 -dpi $DPI $PBM $PBM.djvu;  rm -f $PBM;  done

  $ djvm -c $OUTFILE $MASK*.pbm.djvu

** pdf2djvu.

  $ pdf2djvu file.pdf

  http://code.google.com/p/pdf2djvu/
                home page

* jpg to djvu.

** JPEG to bitonal DjVu.

  $ anytopnm page.djvu | ppmtopgm | pgmtopbm -value 0.499 > page.pbm
  $ cjb2 -dpi $DPI page.pbm page.djvu

  $ djvm -c $OUTFILE $MASK.djvu    # Many .djvu to single .djvu.


** JPEG to low colour DjVu.

  $ cpaldjvu -dpi $DPI -colors $NCOLORS $i $i.djvu

  $ djvm -c $OUTFILE $MASK.djvu    # Many .djvu to single .djvu.