victorsoares96 / compress-pdf

Compress your PDFs easily using the ghostscript api
https://www.npmjs.com/package/compress-pdf
MIT License
5 stars 2 forks source link

Large Sized Pdf Compression seem break the content in pdf #82

Open FaizanAsif-cloud opened 4 months ago

FaizanAsif-cloud commented 4 months ago

Hi There! I am using compress-pdf library. I compress 20MB of PDF, it make PDF size 890KB, but its content is broken like it remove some of the images, text. I tried to increase image quality to 500 it make the PDF quality good and size 4.1MB but still same content is broken. Is there any way we can handle PDF compression for large sized pdf? Thanks in Advance.

victorsoares96 commented 3 months ago

@FaizanAsif-cloud Is it possible for you to share the pdf with me so I can debug what is happening?