Setting the Bit Depth (xxxBitDepth)
This parameter determines what bit depth to use when converting the vector page. Valid settings for this format are 1 (for black & white, smaller) or 24 (for color, bigger). If any pages of the vector document might be in color, then the setting of 24 should be used, since there is no way to tell if a page might or might not contain color vector objects.
The example below shows how to set the bit depth parameters in the web.xml
file. For a list of web.xml
parameters, please see Servlet Tags for web.xml
.
<init-param>
<param-name>docxBitDepth</param-name>
<param-value>24</param-value>
</init-param>
The available bit depth parameters are shown in the table below:
Parameter Name | Description |
---|---|
bitDepth |
The default bits per pixel for decompression of formats not specified with individual parameters. |
docxBitDepth |
The bit depth to use for Word 2007 documents. Valid values are 1 or 24. |
iocaBitDepth |
The bit depth to use when decompressing IOCA pages. Valid values are 1 or 24. |
modcaBitDepth |
The bit depth to use when decompressing MO:DCA pages. Valid values are 1 or 24. |
pclBitDepth |
The bit depth to use when decompressing PCL pages. Valid values are 1 or 24. |
pdfBitDepth |
The bit depth to use when decompressing PDF pages. Valid values are 1 or 24. |
pptBitDepth |
The bit depth to use when decompressing PPT pages. Valid values are 1 or 24. |
wordBitDepth |
The bit depth to use when decompressing Word pages. Valid values are 1 or 24. |
xlsBitDepth |
The bit depth to use when decompressing XLS pages. Valid values are 1 or 24. |
Have questions, corrections, or concerns about this topic? Please let us know!