PDF2IMG

Installing the Software

Installing the PDF2IMG software is easy. If you are installing the Windows 32 version of PDF2IMG, the PDF2IMG COM interface files are included in the build.

PDF2IMG is available on the Windows 32 and 64 bit and Linux 32 and 64 bit platforms.

Evaluation Users

The evaluation release of PDF2IMG requires a license file, eval.lic, to be present at run time. This will be provided by a Datalogics representative after you fill out the evaluation form. You must either:

  • move the eval.lic file to the current working directory for the PDF2IMG DLL files, where your application will find it automatically, or
  • set the RLM_License environment variable to point to this license file

For Windows platforms, we recommend that you set a Windows environment variable if you are running multiple applications and in various locations.

  1. In the System Properties window, accessed from Computer/Advanced system settings
  2. Click the Advanced tab and click Environment Variables.
  3. Click New and enter RLM_License as the variable name.

For the value of the variable, enter the directory location of the eval.lic file, such as:

RLM_License=C:\Datalogics\PDF2IMG\eval.lic

Note:The expiration date of your evaluation copy of the software is stored in the eval.lic file. As this is a text file, you can view the date in a text editor. If you need to extend your license period please contact your Datalogics Support representative.

UNIX Platforms

The PDF2IMG software release is packaged as a Gzipped .tar file.

  1. Copy the file to the appropriate working directory and use a gunzip command to access the .tar file:

gunzip -v pdf2img-2.4P1j-x86_64-linux.tar.gz

  1. Then unpack the .tar file itself:

tar-xvf pdf2img-2.4P1j-x86_64-linux.tar

This will create a pdf2img directory and place the installation files there.

  1. Change to the pdf2img directory where you unpacked the tar file and check to make sure that expected files are present.
  2. Then, before you try to run the executable or execute the enclosed Makefile, you need to define an LD_LIBRARY_PATH environment variable.

This variable must locate all necessary files for building PDF2IMG:

setenv LD_LIBRARY_PATH /usr/local/lib:.

For more details see Environment Variable Definitions.

  1. Alternatively, you can use the fontlist command line argument to specify the location or locations of the resources at run time.
  2. Issuing a gmake clean command will ensure that the initial PDF2IMG build will complete all necessary steps.
  3. Then, if you complete these steps without any problems, the gmake command should produce a new build of PDF2IMG.
Note:The GNU Compiler Collection (GCC) library v4.1 or higher is required to link against the libpdf2img.so share library on UNIX systems.

Windows Platforms

The Windows release of PDF2IMG is provided as a .zip file.

You can run the pdf2img.exe application as it is provided, or do your own development work. See Updating the PDF2IMG Command Arguments.

If your application will use fonts other than the fonts embedded in the PDF documents you plan to convert, make sure that you define your environment variables properly to account for the places where you store your font and CMap files. Or you can use the fontlist command line argument to specify the location of font resources you want to use when you run the PDF document conversion.

Windows 64

Unzip the files into the directory of your choice and run the PDF2IMG.EXE program file from the command console. No other installation process is necessary.

Note:The PDF2IMG COM interface is not is not available with the Windows 64 release.
Windows 32

Unzip the files into the directory of your choice. Run the setup.exe installation file.

To build a PDF2IMG or PDF2IMG COM application on a Windows platform requires the Microsoft .NET Framework. A copy is provided with the Windows release. The PDF2IMG installation process will guide you in installing the .NET Framework if it detects that the .NET Framework is not already installed on your machine.

The PDF2IMG COM interface files enable you to build your own user interface application.  These files are stored in the C# application subfolder under the PDF2IMG directory.