Web Optimized PDFs are better displayed visually and useless data as only the required parts of the document are loaded. The idea behind linearization is a faster display of PDF documents from the web.
- Name String, Required
Filename including extension.
- DocumentBuffer, Required
PDF file to be optimized. The file should be passed as a binary file.
Select the type of optimization. The allowed values are
- For Web with Compression
- For Web without compression
The name of the output file.
- Doc DataBuffer
The output document is in Buffer format.