|
|
ManualPage
pdf2djvu manual
Name
pdf2djvu — creates DjVu files from PDF files
Synopsis
pdf2djvu [{-o | --output} output-djvu-file] [option…] pdf-file
pdf2djvu {-i | --indirect} index-djvu-file [option…] pdf-file
pdf2djvu {--version | --help | -h}
Description
This program creates a DjVu file from the Portable Document Format file pdf-file.
Options
pdf2djvu accepts the following options:
Document type, file names:
-o, --output=output-djvu-fileGenerate a bundled multi-page document. Write the file into output-djvu-file instead of standard output.
-i, --indirect=index-djvu-fileGenerate an indirect multi-page document. Use index-djvu-file as the index file name; put the component files into the same directory. The directory must exist and be writable.
--pageid-prefix=prefixSpecifies the naming scheme for page identifiers: prefix, followed by 0-padded page number, followed by the .djvu suffix. prefix must consist only of letters, digits, _, +, - and .. The default is p.
Resolution, page size:
-d, --dpi=resolutionSpecifies the desired resolution to resolution dots per inch. The default is 300 dpi. The allowed range is: 72 ≤ resolution ≤ 6000.
--media-boxUse MediaBox to determine page size. CropBox is used by default.
--page-size=widthxheightSpecifies the preferred page size to width pixels × height pixels. The actual page size may be altered in order to respect aspect ratio and DjVu limitations on resolution. (This option takes precedence over -d/--dpi.)
Image quality:
--bg-slices=n+…+n, --bg-slices=n,…,nSpecifies the encoding quality of the IW44 background layer. This option is similar to the -slice option of c44. Consult the c44(1) manual page for details. The default is 72+11+10+10.
--bg-subsample=nSpecifies the background subsampling ratio. The default is 3. Valid values are integers between 1 and 11, inclusive.
--fg-colors=webReduce foreground layer colors to the web palette (216 colors). This is default.
--fg-colors=nUse GraphicsMagick to reduce number of distinct colors in the foreground layer to n. Valid values are integers between 1 and 4080. This option is not recommended.
--anti-aliasEnable font and vector anti-aliasing. This option is not recommended.
Extraction:
--no-metadataDon't extract the metadata.
--no-outlineDon't extract the document outline.
--hyperlinks=optionsSpecifies hyperlink display options. options must be a comma-separated list of:border-avisMake hyperlinks' borders always visible. (Otherwise, the border will be visible only when the mouse is over the hyperlink.)#RRGGBBSet hyperlinks' borders color.
--no-hyperlinksDon't extract hyperlinks.
--no-textDon't extract the text.
--wordsExtract the text. Record the location of every word. This is the default.
--linesExtract the text. Record the location of every line, rather that every word.
--no-nfkcDon't NFKC-normalize the text.
--pages=pagesSpecifies pages to convert.
Verbosity, help:
-v, --verboseDisplay more informational messages while converting the file.
-q, --quietDon't display informational messages while converting the file.
--versionOutput version information and exit.
-h, --helpDisplay help and exit.
See also
djvudigital(1), csepdjvu(1)
Author
Copyright
Copyright © 2007, 2008 Jakub Wilk
Sign in to add a comment
