The PDF format specification defines five separate "Page Boundaries" that control various aspects of the imaging process. The PDF Conversion Service supports "Media box" or "Crop box" to convert a source PDF document image(s). The PDF Conversion Service configuration file allows setting what boundary is used. By default, the PDF Conversion Service is configured to use the "Media box" boundary.
To modify the page boundary setting using central configuration:
- Open the central config file.
- Set the fileTypes.pdf.pageBoundaries property value to "mediabox" or "cropbox".
|
The useCropBox property is optional. If the config file does not contain the property, then the service uses the "Media box" boundary for PDF document conversion. |
Example |
Copy Code
|
fileTypes.pdf.pageBoundaries: mediaBox
|
- Restart PrizmDoc.
|
The setting of this parameter can affect conversions from PDF to SVG, PNG and JPG. |
|
The following configuration properties have been deprecated and will be removed in a future release. Alter these properties only if not using the central configuration file. |
To modify the page boundary setting using legacy configuration:
- Open the config file:
- Windows: C:\Prizm\conf\PDFConversionService.Windows.config
- Linux: /usr/share/prizm/conf/PDFConversionService.Linux.config
- Set the useCropBox property value to true to enable "Crop Box" boundary usage. (Or set the property to false to use "Media box".)
|
The useCropBox property is optional. If the config file does not contain the property, then the service uses the "Media box" boundary for PDF document conversion. |
Example |
Copy Code
|
{
...
"useCropBox":true,
...
}
|
- Restart PrizmDoc.
|
The Config file "useCropBox" property is supported starting with PrizmDoc v9.1. |