Optimize the output PDF file

GroupDocs.Viewer allows you to optimize the output PDF file for a web browser or to reduce the file size by optimizing resources.

Optimization for a web allows a browser to display the first pages of a PDF file when you open the document, instead of waiting for the entire file to download.

Resource optimization allows you to reduce the size of the output PDF file. While optimizing, GroupDocs.Viewer may reduce the image size or quality, remove notes or form fields, remove objects, fonts, or personal information from a document, and so on.

You can also optimize an existing PDF file. To do this, open it, specify the optimization parameters, and save the output file.