dcpdf_SetImageResolution (deprecated)
Specifies the output resolution to use when you convert a PDF file to TIFF. This action is deprecated. Instead, use the actions in Convert, OCRA and OCRS.
Member of namespace
dcpdfSyntax
bool dcpdf_SetImageResolution (strParam)Parameters
Two comma-separated Numeric values specifying X resolution and Y resolution (in that order). The values are expressed in Dots (pixels) Per Inch (DPI).Returns
False, if the parameters are not Numeric. Otherwise, True.Level
Batch or Document level.Details
This action sets the X and Y resolution for the pages of a PDF that is converted to TIFF. If this action is not called, the default of 200 x 200 will be used. It is strongly recommended that the X and Y resolutions are always set the same to produce an isotropic image, which will allow for better fingerprinting and recognition.This action must be called before the dcpdf_CreateTiffFromPDF or dcpdf_CreateTiffFromPDF_CreateDocs actions.
- Example:
dcpdf_SetImageResolution("300,300") dcpdf_CreateTiffFromPDF()