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

The dpi option specifies the dpi of the input image file (for encoding) or the dpi of the output image file (for decoding). This option controls the default size of the image in the DjVu Browser Plug-in and in print. It also controls the amount of pixel cleanup that occurs during the encoding or decoding process.

Assign values to the dpi option as described in the table below. Default is 0.

 

Supporting commands:

documenttodjvu, phototodjvu, djvudecode

 

Value

Description

-1200 to -25

The negative sign indicates that the assigned dpi is a hint value. Most image files internally store the dpi at which you scanned them. Document Express uses this internal dpi to determine how much it can manipulate the image without making changes that are visibly noticeable. When there is no internal dpi, the program relies upon the hint dpi value that you assign to determine how much an image can be manipulated. If the image contains an internal dpi and you assign a negative value to the dpi option, Document Express overrides this hint value and defaults to the image's internal dpi.

0

Default. Indicates that the image contains an internal dpi (the resolution at which you scanned the document) which should be used during the encoding or decoding process. Document Express defaults to this setting if you do not specify the dpi option on the command line.

25 to 1200

Indicates that the image's internal dpi (the resolution at which you scanned the document) should be ignored and replaced with this dpi value.