Rank: Member Groups: Member
Joined: 1/3/2012 Posts: 10
|
Is there function in EO.Pdf to compress an existing pdf file? Thank you for the assistance.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
No. We do not have any such feature/functions. Generally, a PDF file is already compressed (a PDF file contains a lot of data block, these blocks are almost always compressed). What some other vendor/tools referred as "compressing" is actually downgrading the images. For example, if the PDF file contains a high quality image at 1200 DPI, the software can reduce this resolution to 150 DPI and it may still look reasonably good on screen (the qualify difference will show when you print it). Obviously it takes a lot less data to store an image at 150 DPI than at 1200 DPI. Thus this can significantly reduce the PDF file size, even though both the original 1200 DPI image and the low quality 150 DPI image are already compressed in both the source and the result file.
We do not have any function that can perform such image downgrading for an existing PDF file. If the PDF file is generated using our HTML to PDF converter, you can manually control the image quality through HtmlToPdf.Options.PreserveHighResImages to false, then reduce HtmlToPdf.Options.JpegQualityLevel to reduce the image quality thus reducing the file size.
Thanks!
|