Compressing PDF Files


To flatten transparencies in a PDF input document, add one of these "quality" settings to your JSON profile file. If you don't include the "quality" setting in your JSON profile, the Datalogics PDF REST APIs will not flatten transparencies.

quality A string. The resolution level to use when flattening transparent objects. The higher the level of quality, the better the final output in print or in a browser window. But the resulting PDF document will also be larger.
low-quality Line art and text 288 DPI, gradients 144 DPI
medium-quality Line art and text 300 DPI, gradients 150 DPI
high-quality Line art and text 1200 DPI, gradients 300 DPI