PDF2IMG

Installing the Software

Installing the PDF2IMG software is easy. We provide builds for the Windows and Linux 64-bit platforms, and with PDF2IMG Pro and Premium we also provide a native Windows C# interface. If you need the Windows or Linux 32-bit platform, both are provided with PDF2IMG Premium as well.

Evaluating PDF2IMG

Both versions of PDF2IMG are available for a free evaluation period. You can download and install any version of PDF2IMG from our website and enter the activation key when prompted. The installation process generates a license file in your installation directory, and you will be ready to start using the software at once. You may return to our website to easily extend your evaluation license to an annual subscription for PDF2IMG Pro. If you evaluate PDF2IMG Premium, a Sales representative will contact you to discuss how you plan to use the product.

Working with the License File

Note that if you don’t enter the activation key value when you first install the product, or enter it incorrectly, you will be prompted to enter the value again the next time you run the command line executable.

Note that you can use the library file provided with the software installation package to build your own executable file for PDF2IMG Pro, or for the evaluation copy of PDF2IMG Premium. But you must generate a license file, and store that license file in the same directory where you place the PDF2IMG executable that you create.

You can generate a new license file.  Run your new executable and enter the activation key again when prompted.

Or you can copy the original license key file to the directory where you store your executable.

Linux Platforms

For Linux, the PDF2IMG software release is packaged as a self-extracting bsx file.

  1. Copy the installation file to the appropriate working directory on a Linux machine. From the Bash prompt, enter a command to run the file. It should look something like this:

./setup_PDF2IMG_Pro_LM_Linux64_3.1.2.bsx

  1. For PDF2IMG Pro, an End User License Agreement appears. You will need to type “y” to accept the agreement. No EULA appears for PDF2IMG Premium.
  2. Enter the name of the directory where you want the software to be installed. If you leave this field blank, PDF2IMG will be installed in a subfolder called “PDF2IMG” under the directory where the bsx file is stored.

You might want to create a special subfolder for the product, and enter something like:

PRO_64

  1. The installation process will copy the software files to the directory you selected.
  2. Switch to the directory where you installed the software and type a Linux command to run PDF2IMG. This statement converts the first page of the document PDF2IMG.pdf to a JPG file:

./pdf2img -firstonly PDF2IMG.pdf jpg

  1. You will be prompted to enter an Activation key. Type or copy and paste the 16-digit activation key in this space.
  2. You should see a license file, pdf2img_pro.lic, appearing in the installation directory. Note that you will only see the file pdf2img_premium.lic if you are installing an evaluation copy of PDF2IMG Premium.

If you later receive a new activation key for PDF2IMG, you will need to enter it as you did your original activation key when you first installed the product. Type or paste the key value as you did before. The system will create a new license file for you, and you can continue to use the product. This only applies to PDF2IMG Pro.

Note: The Windows installation program for PDF2IMG adds the location of the PDF2IMG executable to the PATH in the Windows Environment Variables, so you can run “pdf2img.exe” from anywhere.  For Linux, if you want to run the executable from anywhere, you need to manually add the location of the PDF2IMG executable to the PATH variable.

Note: If you are working with a 32-bit PDF2IMG Premium release, and you want to apply changes to the pdf2img.cpp program file and then recompile the pdf2img.exe executable, use the makefile provided with the release package. In this case set the environment variable BUILD_64_BIT=false first, before executing the makefile. By default, this makefile will build a 64-bit version of the PDF2IMG executable.

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 an executable file.

  1. Copy the EXE file to the directory of your choice, and then run it from a command prompt.
  2. You will be presented with a License Agreement. Accept the agreement and click Next.
  3. You will be asked where you want to store the installation files, with a default depending on the version of the software you purchased:
C:\Program Files\Datalogics\PDF2IMG_Pro
C:\Program Files\Datalogics\PDF2IMG_Premium
  1. Enter the name of the directory where you want to install the software and click Next.
  2. A confirmation screen appears. Click Install. The installation process will copy the files to the directory you selected.
  3. Click Finish to complete the process.
  4. Enter the activation key provided. If you have purchased PDF2IMG Premium, you will simply be asked where you want to install the software. The installation process will not prompt you for an activation key.
  5. You should see a license file, pdf2img_pro.lic, appearing in the installation directory. Note that you will only see the file pdf2img_premium.lic if you are installing an evaluation copy of PDF2IMG Premium.

If you create an application that needs to 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.

You can also use the “fontlist” command line argument to specify the location of font resources you want to use when you use PDF2IMG to complete a PDF document conversion.

If you later receive a new activation key for PDF2IMG, you will need to enter it as you did your original activation key when you first installed the product. Type or paste the key value as you did before. The system will create a new license file for you, and you can continue to use the product. This only applies to PDF2IMG Standard and Pro.

Note: The Windows installation program for PDF2IMG adds the location of the PDF2IMG executable to the PATH in the Windows Environment Variables, so you can run “pdf2img.exe” from anywhere.