From ArchWiki
Revision as of 11:54, 17 November 2011 by Sergej (Talk | contribs)

Jump to: navigation, search

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Djvu#)

Convert djvu to images

Break djvu into separate pages:

 djvmcvt -i input.djvu /path/to/out/dir output-index.djvu

Convert pages to images:

 ddjvu --format=tiff page.djvu page.tiff

Also you can use --page key:

 ddjvu --format=tiff --page=1-10 input.djvu output.tiff

it will place pages from 1 to 10 into one tiff file.

Process images

You can use community/scantailor package. It can:

  • fix orientation
  • split pages
  • deskew
  • crop
  • adjust margins

Make djvu from images

There is a useful script img2djvu-git.

 img2djvu -d600 -v1 ./out

it will create 600dpi out.djvu from all files in ./out directory.