How can we reduce the pdf file size after converting it from docx file using aspose library. Currently application generating more than 10 MB pdf file.
Can you please share any reference code?
also does aspose library supports larger file size reduction like file size of 15MB?
@Sujayt The output PDF size depends on the content of the input document. You can try using some of PDF save options to reduce the output document size, for example decrease JPEG image quality using JpegQuality option, or specifying image downsample options using DownsampleOptions property.
Also, you can enable OptimizeOutput option. But please note the accuracy of the content display may be affected if this property is set to true.
If possible, could you please share your input document here for testing? We will check it and let you know if it is possible to reduce the output document size.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.