PDF OPTIMIZER is a simple command line utility 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 MPB 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.
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 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 JSONint to check your JSON syntax.