Difference between revisions of "Djvu"

From ArchWiki
Jump to: navigation, search
(Process images: wording)
({{i18n|Djvu}})
Line 1: Line 1:
{{Stub}}
 
 
[[Category: Office (English)]]
 
[[Category: Office (English)]]
 +
{{i18n|Djvu}}
 +
{{Stub}}
  
 
== Convert djvu to images ==
 
== Convert djvu to images ==
 
 
Break Djvu into separate pages:
 
Break Djvu into separate pages:
 
   djvmcvt -i input.djvu /path/to/out/dir output-index.djvu
 
   djvmcvt -i input.djvu /path/to/out/dir output-index.djvu
Line 15: Line 15:
  
 
== Process images ==
 
== Process images ==
 
 
You can use the community/scantailor package to:
 
You can use the community/scantailor package to:
 
* fix orientation
 
* fix orientation
Line 24: Line 23:
  
 
== Make djvu from images ==
 
== Make djvu from images ==
 
 
There is a useful script [https://aur.archlinux.org/packages.php?ID=49995 img2djvu-git].
 
There is a useful script [https://aur.archlinux.org/packages.php?ID=49995 img2djvu-git].
 
   img2djvu -d600 -v1 ./out
 
   img2djvu -d600 -v1 ./out
 
it will create 600dpi out.djvu from all files in ./out directory.
 
it will create 600dpi out.djvu from all files in ./out directory.

Revision as of 20:23, 25 November 2011

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

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 Djvu pages into images:

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

You can also use --page to export specific pages:

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

this will convert pages from 1 to 10 into one tiff file.

Process images

You can use the community/scantailor package to:

  • 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.