phototodjvu

Synopsis
Parameters
Examples

The phototodjvu command encodes color and grayscale photographs into DjVu® documents with the same characteristics. Any text in the photographic image will be encoded as part of the background layer, and you cannot perform OCR on the image.

For more information about this image type, see DjVu Document Types in the DjVu Technology section in Appendices.

 

Synopsis

phototodjvu [options...] <inputfile> <[inputfile...]> <outputfile|outputdir>

 

Parameters

optionsSpecifies an optional encoding requirement. You can specify multiple options each time you run a command. See table below.

 

phototodjvu Options

Setup options

--profile=<name>

--config=<filename>

--filelist=<filename>

--page-range=<range>

 

Transform options

--dpi=<-1200 to -25, 0, 25 to 1200>

--rotate=<angle>

--jpeg

--vflip

--hflip

 

Background options

--quality=<1-100>

--gamma=<0.3-5.0>

--sizes=#,#,#,...

--slices=#,#,#,...

--decibels=#.#,#.#,#.#,...

--crcbnormal

--crcbfull

--crcbhalf

--crcbnone

--crcbdelay=<1-32>

 

Other options

--help

--verbose

 

 

 

inputfileSpecifies the name of the input image file. Additional input file names are optional to create a DjVu document that contains multiple pages. If you do not want to type each file name individually, you can create a text file, called a filelist, that lists all the input files to be encoded. For more information, see the --filelist=<filename> command option.

outputfile|outputdirSpecifies a name for either the output DjVu file (if you are creating a single-page DjVu document or a multiple-page bundled DjVu document) or the output directory (if you are creating a multiple-page indirect DjVu document). For more information about these formats, see Bundled DjVu documents and Indirect DjVu Documents.

NOTE: It is a new feature in Document Express Enterprise 5.1 that if the path does not exist then it is created.

 

Examples

phototodjvu --page-range=1,4,5-8 file1.tiff outputfile.djvu 

phototodjvu --crcbfull file1.tiff file2.tiff file3.pnm outputdir

phototodjvu --quality=75 file1.tiff outputfile.djvu

 

See also documenttodjvu.