Frequently Asked Question:
How do you find if a PDF is compressed or not?
Is there a library function which can tell whether or not a PDF file is compressed or not?
There isn't an easy way to check if a PDF contains compressed elements or not. There is not a PDF wide compression option, instead various different objects and streams in PDF files can be compressed individually, using different compression methods. So if you wanted to determine if a PDF contained any compression at all you would need to check every single object and stream in the PDF to see if it uses compression.
The public API for Quick PDF Library does not currently provide this functionality.