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.
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.
- In the System Properties window, accessed from Computer/Advanced system settings
- Click the Advanced tab and click Environment Variables.
- 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:
The PDF2IMG software release is packaged as a Gzipped .tar file.
- 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
- Then unpack the .tar file itself:
This will create a pdf2img directory and place the installation files there.
- Change to the pdf2img directory where you unpacked the tar file and check to make sure that expected files are present.
- 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.
- Alternatively, you can use the fontlist command line argument to specify the location or locations of the resources at run time.
- Issuing a gmake clean command will ensure that the initial PDF2IMG build will complete all necessary steps.
- Then, if you complete these steps without any problems, the gmake command should produce a new build of PDF2IMG.
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.
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.
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.