Example of Compress Existing PDF in ASP.NET Core PDF Library
This sample demonstrates the optimization of an existing PDF document based on image quality, page content, metadata, and font to reduce the file size of the PDF document.
DEMO
SOURCE
This feature can be used to reduce response times in web based applications, mails and more.
More information about compression can be found in this documentation section.