PDF to Bitmap

The PDF to Bitmap plugin converts PDF pages to bitmaps.

Input

The job file. This must be a PDF file.

Processing

The PDF to Bitmap plugin converts PDF pages to bitmaps, optionally scaling them.

Invalid pages or ranges generate an error; in this case, no bitmap is produced.

If the specified output folder doesn't exist, it will be created. If the folder cannot be created, an "Error creating directory" message is logged.

If the plugin can't connect to the OL Connect Server it will return an error message.

Note: As of OL Connect version 2020.2 the PDF to Bitmap plugin requires the OL Connect Server to produce output.
This could cause problems when running older configurations. To cure such issues, set the Connect Server connection settings within Workflow (see OL Connect preferences).

Output

This task outputs the PDF file it received with no modification.

Properties

The General tab has the following options:

  • Output format: The output format can be either PNG or JPG.
  • Resolution: Specify the resolution of the bitmaps (pixels per inch). The minimum is 12, the maximum is 1200. For example, with the minimum of 12, a PDF page that is 8,5 inch wide is converted into a bitmap of 102 pixels wide, which could be used as a thumbnail on a web page.
  • Page range: An asterisk (*) means: convert all pages. It can be replaced with a combination of the following, comma-separated values:

    • a single page number

    • a range of pages: n1-[n2]. If n2 is not specified, the range extends to the end of the file. Any value specified after the next comma is ignored.

    Example: 1, 7-10, 13, 15- means the task will convert pages 1, 7, 8, 9, 10, 13, and 15 until the end of the file.

  • Output folder and file name: Specify where the bitmaps are saved; %t%O means: save the bitmaps to the current temporary folder, using the PDF's original file name. If no extension is specified, the selected output format is used to add the extension automatically. When multiple pages are saved, the index of each page is appended to the output file name (e.g. mybitmap1.jpg, mybitmap2,jpg, etc.).
    If the specified output folder doesn't exist, it will be created. If the folder cannot be created, an "Error creating directory" message is logged.

OL Connect Proxy Tab

  • Server Connect Settings
    • Connect Proxy Address: Enter the machine name or IP Address where the OL Connect Server resides.
    • Port: Enter the port to use to communicate with the OL Connect Server. Default: 9340.
    • User name: Enter the user name expected by the OL Connect Server.
    • Password: Enter the password expected by the OL Connect Server for the above user name.

On Error Tab

For a description of the options on the On Error tab see Using the On Error tab.

Miscellaneous Tab

The Miscellaneous tab is common to all tasks.

It contains a text area (Task comments) that lets you write comments about the task. These comments are saved when the dialog is closed with the OK button and are displayed in The Task Comments Pane.

Check the option Use as step description to display the text next to the icon of the plugin in the Process area.

The tab also provides an option to highlight the task in The Process area with the default color, set in the Preferences (see Colors), or the color selected or defined under Highlight color on this tab.
To revert the selected highlight color to the default color, open this tab, turn the Highlight option off and close the dialog with the OK button; then turn highlighting back on.
Highlighting can also be turned on and off via the task's contextual menu and with the Highlight button on the View ribbon.