We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Compressing PDF really dont compress

Thread ID:





127875 Dec 15,2016 05:29 AM UTC Mar 5,2018 08:30 AM UTC ASP.NET Web Forms 3
Tags: PDF
Ravi Chandran
Asked On December 15, 2016 05:29 AM UTC

I have a pdf which I'm trying to compress it using normal, above normal, best and using bestspeed which gives me the same result 

The original pdf size is 53.5kb but if I use the properties normal or best speed which gives me 52.9kb as final result which dosent make sense

Can you give me a sample with the attached pdf.

This is the code which I'm using to compress which was given in the example here

Attachment: sample_4eaab900.rar

Praveenkumar H [Syncfusion]
Replied On December 16, 2016 11:32 AM UTC

Hi Ravi, 
Currently our compression support is more effective only on newly created document, because when newly creating the document we can able to access the content stream and other resources of the PDF file to compress to its best but in the loaded document we will compress the streams which is not already compressed to its best so  we have already logged the feature request to compress the existing PDF document effectively ,  we will let you know once the feature has been implemented. 
Please let us know if you need further assistance. 

Ravi Chandran
Replied On March 4, 2018 04:50 AM UTC

Hi Praveen,

How do I write the existing pdf including text and images and then compress it ?

Sowmiya Loganathan [Syncfusion]
Replied On March 5, 2018 08:30 AM UTC

Hi Ravi, 

We have created the simple sample to write the text and images in existing PDF document and compress it.  

Please find the sample for the same from below which has been downloaded from the following location: 

Please refer the below UG documentation link for more details: 

Please try the above sample in your end and check whether it meets your requirement.  

Sowmiya L 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon