Setting the Format (xxxFormat)
This parameter determines which format the vector page will be rendered to for sending to the client. Valid values for this parameter are TIFF_G4_FAX (black & white, best for text documents, small size), JPEG (color, good for images, lesser quality for text, small size), TIFF_LZW (color or greyscale, good for documents with text and color elements), or PNG (color, better for text than JPEG, not as small).
By adjusting these parameters in various combinations, you can find the best settings for your environment, documents, and user load.
The example below shows how to set the format parameters in the web.xml
file. For a list of web.xml
parameters, please see Servlet Tags for web.xml
.
<init-param>
<param-name>docxFormat</param-name>
<param-value>TIFF_LZW</param-value>
</init-param>
The available format parameters are shown in the table below:
Parameter Name | Description | |||
---|---|---|---|---|
docxFormat |
The format to convert Word 2007 documents to. Valid values should are TIFF_G4 | JPEG | TIFF_ LZW | PNG. |
icoaFormat |
The format to convert IOCA pages to. Valid values are TIFF_G4_FAX | JPEG | TIFF_LZW | PNG. |
modcaFormat |
The format to convert MO:DCA pages to. Valid values are TIFF_G4_FAX | JPEG | TIFF_LZW | PNG. |
pclFormat |
The format to convert PCL pages to. Valid values are TIFF_G4_FAX | JPEG | TIFF_LZW | PNG |
pdfFormat |
The format to convert PDF pages to. Valid values are TIFF_G4_FAX | JPEG | TIFF_LZW | PNG. |
pptFormat |
The format to convert PPT pages to. Valid values are TIFF_G4_FAX | JPEG | TIFF_LZW | PNG |
wordFormat |
The format to convert Word pages to. Valid values are TIFF_G4_FAX | JPEG | TIFF_LZW | PNG. The bit depth to use when decompressing XLS pages. Valid values are 1 or 24. |
xlsFormat |
The format to convert XLS pages to. Valid values are TIFF_G4_FAX | JPEG | TIFF_LZW | PNG. |
The full list of format server parameters and their usage is in Servlet Tags for web.xml
.
Have questions, corrections, or concerns about this topic? Please let us know!