PDF Optimizer is a simple scriptable server tool for Windows or Linux 64 bit platforms that allows you to rework a PDF document so that it will download faster or open more quickly in a browser window. Usually, optimizing a PDF document makes it smaller, and a smaller PDF document is easier to manage. If your goal is to edit a PDF document so that it can be more easily sent out as an attachment to an email message or to allow for faster paging online, you could use PDF Optimizer to reduce the size of the PDF document from, say, 8 MB to 1.5 MB. But optimizing can improve the performance of a PDF document without necessarily making that document smaller. The optimization process can discard objects and features within a PDF document that require excess processing time, making the file more efficient. A complicated PDF document with a lot of features will tend to take more time to load, regardless of the size.
How to use PDF Optimizer
When you run PDF Optimizer, the program takes the input PDF document you provide, optimizes it, and then saves it as a new output PDF document. You can provide a variety of custom settings and variables to tell PDF Optimizer exactly how you want the system to manage each PDF document. For example, you can make a PDF smaller by choosing to downsample the images found in that document. Downsampling an image reduces the resolution of that image and reduces its size as well. Or you could add a setting to a profile file that tells PDF Optimizer to discard bookmarks within a PDF document, or attached files.
The PDF Optimizer Profile
The custom settings that you provide to PDF Optimizer to manage the process are all defined in a profile file. The profile is a JSON file that you need to name in the command line statement. By including your custom settings in a profile file, creating a command line statement with PDF Optimizer is a lot easier.
You can use the JSON validator JSONLint to check your JSON syntax.
Note that when you install PDF Optimizer, you can also install a separate utility as well called PDF Checker. PDF Checker is a simple scriptable server tool for 64-bit Windows and Linux platforms that allows you to quickly scan a PDF document or set of documents to look for problems, or to simply identify features within a document that are likely to get in your way if you want to use the PDF efficiently. Then, you can use this knowledge of your PDF documents to enhance them using PDF Optimizer. The two tools are designed to work together.
If you install PDF Optimizer in Windows, you will see an installation screen called Select Additional Tasks. Here you can check a box to Install PDF Checker. The box is checked by default, so PDF Checker will install with PDF Optimizer unless you decide otherwise.
If you install PDF Optimizer in Linux, a self-extracting script installer will be provided in the tar.gz installation file. Look for a .bsx file named “PDFChecker.” If you run this file you will be prompted to accept a license agreement, and then PDF Checker will be installed separately.
Installing PDF Optimizer
When you first purchase PDF Optimizer, you will receive an activation key, and you will be prompted to enter this key when you install the software. In response the system generates a license file for you (pdf2optimizer.lic) and stores it in the software working directory.
If you later receive a new activation key for PDF Optimizer, you will need to enter it as you did your original activation key when you first installed the product. Delete the license file from the installation directory and then run the Windows executable, pdfoptimizer.exe, or use the Linux command ./pdfoptimizer. You will be prompted to enter the activation key. 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.
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 PDF Optimizer. But if you enter the key later, the system will create the license file in the working directory where PDF Optimizer is run. In that event you will need to move the license file from the working directory to the installation directory.