Blog: Tech Talk

agsdix-fas fa-home

Blog: Home

agsdix-fas fa-pen-fancy

Blog: CEO's Corner

agsdix-fas fa-code

Blog: Tech Talk

Blog: Product Releases

agsdix-fas fa-chalkboard-teacher

Blog: Viewing

Blog: Conversion

arrow left circle icon Blog: Tech Talk

Setting the Dots Per Inch (DPI) in VirtualViewer Java Content Server

by | Apr 24, 2012

Snowbound Software’s VirtualViewer Java Content Server includes parameters that allow you to define the dots per inch (DPI). By setting the DPI, you can control the performance or quality for displaying images. To improve performance, set the DPI to a lower value. To improve the quality of how the image displays, set the DPI to a higher value. For best performance, Snowbound Software recommends setting the default DPI value at 200.

To set the DPI value, open the web.xml file and set the value as shown in the example below. The web.xml file is located in the WEB-INF directory.

<param name=”pclDPI” value=”200″>

You can set the DPI value for the servlet parameters shown in the table below in the web.xml file:

Name Default Value Description
 iocaDPI 200     
The Dots Per Inch to use when decompressing IOCA pages.
 modcaDPI 200 The Dots Per Inch to use when decompressing MO:DCA pages.
 pclDPI 200  The Dots Per Inch to use when decompressing PCL pages.
 pdfDPI 200 The Dots Per Inch to use when decompressing PDF pages.
 pptDPI 200 The Dots Per Inch to use when decompressing PPT pages.
 wordDPI 200 The Dots Per Inch to use when decompressing Word pages.
 xlsDPI  200 The Dots Per Inch to use when decompressing XLS pages.

For a list of all of the servlet parameters available in VirtualViewer Java Content Server, see Appendix A: Servlet Tags for web.xml in the VirtualViewer Java Content Server Administrator’s Guide.