dcpdf_CreateTiffFromPDF

Converts each page of a PDF file into a TIFF file.

Member of namespace

dcpdf

Syntax

bool dcpdf_CreateTiffFromPDF ()

Parameters

None.

Returns

False, if the action is not run at the Batch level; if there are no PDF files in the batch; or if an error occurs while TIFF files are being created. Otherwise, True.

Level

Batch only.

Details

This action looks for PDF files in the current batch; creates Image files (.tiff) for each page in the PDF file; and creates one document for the PDF file.
Attention: dcpdf_MaxSizeToReconvert can be used to control how this action creates a TIFF file. PDFs are converted to TIFF using a fast algorithm. With some occasional input documents, this may produce images that are large and may not recognize well, causing them to be automatically reconverted to TIFF using a cleaner but slightly slower algorithm. See the help for dcpdf_MaxSizeToReconvert for more information.
Important: The font mapping file, used by the convert actions to extract images from PDF, uses "Lucida Unicode" as the default font. The Lucida Unicode font is installed by default in the Microsoft Windows operating system, which makes it a reliable default font setting. It is possible that the font Arial Sans Unicode might perform better in some instances when converting from PDF to image. You can change the configuration file to use this font, or other fonts, instead of the default font. However, if the specified font is not installed on the machine that is performing the conversion, the text will render as blank on the final image.
To change the font that is used to render a PDF to image, modify the fontfile.map file, located in \Datacap\dcshared\VeryPDF, as follows:
  1. Open fontfile.map in any text editor.
  2. Change the defaultwinfont value from L_10646.ttf to ARIALUNI.TTF
  3. Save the changes and exit.
This example will change the default font from Lucida Unicode to Arial Sans Unicode.

Previous versions of the Convert actions used Arial Sans Unicode as the default font. This default was changed in current versions since this font is not installed by default in the Windows operating system.

Example:
dcpdf_CreateTiffFromPDF() 

When the action in this example encounters a PDF file in the batch, it creates a corresponding Image file (.tiff) and gives the Image file the PDF file’s name.