Reputation: 143
Can we reduce the quality of PDF rendered using PDFsharp? I have to render files containing thousands of pages. Due to this, the resulting files sometimes occupy more than 100 MB memory space which is inconvenient. A PDF is rendered from an Excel sheet. There are no images or charts. Only the number of rows in the Excel is very high. Can anyone please help?
Thanks in advance
Upvotes: 1
Views: 758
Reputation: 21689
With the current version of PDFsharp it is up to you to reduce the resolution of images or the JPEG quality to optimize the file size.
.NET provides functions that can accomplish that.
Upvotes: 1