pdf2djvu

Autres langues

Langue: en

Version: 2008\-02\-07 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

pdf2djvu - creates DjVu files from PDF files

SYNOPSIS

pdf2djvu [{-o | --outputoutput-djvu-file] [option...] pdf-file
pdf2djvu {-i | --indirectindex-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-file

Generate a bundled multi-page document. Write the file into output-djvu-file instead of standard output.

-i, --indirect=index-djvu-file

Generate 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=prefix

Specifies the naming scheme for page identifiers: prefix, followed by 0-padded page number, followed by the the djvu extension. prefix must consist only of letters, digits, _, +, - and dot. The default is p.

Resolution, page size

-d, --dpi=resolution

Specifies the desired resolution to resolution dots per inch. The default is 300 dpi. The allowed range is: 72 ≤ resolution ≤ 6000.

--media-box

Use MediaBox to determine page size. CropBox is used by default.

--page-size=widthxheight

Specifies 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,...,n

Specifies 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=n

Specifies the background subsampling ratio. The default is 3. Valid values are integers between 1 and 11, inclusive.

--fg-colors=web

Reduce foreground layer colors to the web palette (216 colors). This is default.

--fg-colors=n

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

--monochrome

Render pages as monochrome bitmaps. With this option, --bg-... and --fg-... options are not respected.

--loss-level=N

Specify the aggressiveness of the lossy compression. The default is 0 (lossless). Valid values are integers between 0 and 200, inclusive. This option is similar to the -losslevel option of cjb2; consult the cjb2(1) manual page for details. This option is respected only along with the --monochrome option.

--lossy

Synonym for --loss-level=100.

--anti-alias

Enable font and vector anti-aliasing. This option is not recommended.

Extraction

--no-metadata

Don't extract the metadata.

--no-outline

Don't extract the document outline.

--hyperlinks=options

Specifies hyperlink display options. options must be a comma-separated list of:
border-avis
Make hyperlinks' borders always visible. (Otherwise, the border will be visible only when the mouse is over the hyperlink.)

#RRGGBB

Set hyperlinks' borders color.

--no-hyperlinks

Don't extract hyperlinks.

--no-text

Don't extract the text.

--words

Extract the text. Record the location of every word. This is the default.

--lines

Extract the text. Record the location of every line, rather that every word.

--no-nfkc

Don't NFKC-normalize the text.

--pages=pages

Specifies pages to convert.

Verbosity, help

-v, --verbose

Display more informational messages while converting the file.

-q, --quiet

Don't display informational messages while converting the file.

--version

Output version information and exit.

-h, --help

Display help and exit.

SEE ALSO

djvudigital(1), csepdjvu(1)

AUTHOR

Jakub Wilk <ubanus@users.sf.net>

Author.
Copyright © 2007, 2008 Jakub Wilk