PDF Optimizer is a command line application for Windows or Linux 64-bit platforms that you can use to optimize PDF documents. With this product you can count on maximum file size reduction and enterprise-level accuracy and reliability. PDF Optimizer offers flexible control, allowing you to optimize your documents for a wide range of document workflows. You can optimize a PDF document so that it will download faster, open more quickly in a web browser or PDF viewer, print more efficiently, or be better suited for long-term preservation. Select exactly what type of content you prefer to preserve or discard, fine-tune image compression options, and optionally convert to a PDF/A archival standard. With PDF Optimizer, you can ensure that your PDF documents will always be as small as possible while still meeting your needs.
Optimizing can also 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. 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
You can enter a PDF Optimizer statement from a command prompt, and manually optimize one PDF document at a time. Or you could add a PDF Optimizer command statement to a batch or shell script file to automate the process. This way you can create a workflow that uses PDF Optimizer to optimize large numbers of PDF documents automatically. You can use your favorite script language to automatically generate a series of calls to PDF Optimizer, each with a unique name for the input PDF document and the output file. PDF Optimizer is a quick and easy way to convert a set of PDF files to make them easier to distribute.
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.
After PDF Optimizer finishes processing your document, you will see a summary statement on your command line tool, describing, in a few words, how much the PDF Optimizer has reduced the size of your source file, and what was changed or removed to make the output PDF document smaller. This summary appears by default, but if you don't need the summary you can disable it. You can also choose to generate an optional detailed Results Report, saved as a text file in a folder you select.
The PDF Optimizer Profile
You can provide a variety of custom settings to tell PDF Optimizer exactly how you want the system to optimize 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 or attachments within a PDF document.
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.
We provide six profile files with the product, stored in the OptimizationProfiles folder:
- standard.json. This is the default profile recommended for PDF documents to be optimized without a specific case in mind.
- mobile.json. This is a recommended for PDF documents to be used on mobile devices.
- maximum.json. This profile is designed to reduce the size of the PDF document as much as possible without regard to the quality of the output.
- lossless.json. This profile is designed to compress the document as much as possible while preserving the visual quality of the output file.
- archival.json. This profile is designed to make an archived version of the document for long-term storage. The output file is saved using the PDF/A-3b format.
- printing.json. This profile is recommended for PDF documents to be sent to a printer.
If you want to create your own custom profile, you can base your work on one of the profiles provided with the software installation package. But we recommend that you save a copy of the original JSON file and rename it, and then edit this copy instead. This way you will preserve the original JSON profile for later reference. Also, if you install an updated version of the software, the installation process will overwrite the original file, and any changes you made to that file will be lost. Besides saving your own copy of the profile, you might also want to create a backup of your edited JSON profile in a different directory.
You can use the JSON validator JSONLint to check your JSON syntax.
Installing PDF Optimizer: PDF Checker
Note that when you install PDF Optimizer, you can also install a separate utility as well called PDF Checker. PDF Checker is a simple command line application 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 where you can select the software you want to install. Both PDF Optimizer and PDF Checker appear, and both boxes are checked by default, so PDF Checker will install with PDF Optimizer unless you decide otherwise.
If you install PDF Optimizer in Linux, you will be asked if you want to install PDF Checker as well. Type Y in response on the command line to install PDF Checker. You will be prompted to accept a license agreement, and then PDF Checker will be installed separately.
Installing PDF Optimizer: Updating the Activation Key
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 (pdfoptimizer.lic) and stores it in the software installation directory.
When your evaluation period ends, and 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. You will be prompted to enter the activation key. Type or paste the key value as you did before. The system will update the 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.