Setting the DPI (xxxDPI)
This parameter determines how many DPI (dots per inch) should be used when converting a vector page. Typical settings for this parameter are 150, 200, or 300. The higher the DPI, the higher the quality of the image, but also the bigger the size, which means more processing on the server and larger page sizes across the network.
The optimal setting for this varies by format, but 200 is usually good for black & white documents or text, and 300 for color images and more detailed documents. Even higher numbers can be used (400, 600) but it can seriously affect speed of processing and available resources.
The example below shows how to set the DPI parameters in the web.xml
file. For a list of of web.xml
parameters, please see Servlet Tags for web.xml
.
<init-param>
<param-name>docxDPI</param-name>
<param-value>200</param-value>
</init-param>
The available DPI parameters are shown in the table below:
Parameter Name | Description |
---|---|
docxDPI |
The Dots Per Inch to use for Word 2007 documents. |
iocaDIP |
The Dots Per Inch to use when decompressing IOCA pages. |
modcaDPI |
The Dots Per Inch to use when decompressing MO:DCA pages |
pclDPI |
The Dots Per Inch to use when decompressing PCL |
pdfDPI |
The Dots Per Inch to use when decompressing PDF pages. |
pptDPI |
The Dots Per Inch to use when decompressing PPT pages. |
wordDOI |
The Dots Per Inch to use when decompressing Word pages. |
xlsDPI |
The Dots Per Inch to use when decompressing XLS pages. |
Have questions, corrections, or concerns about this topic? Please let us know!