Foxit Quick PDF Library

Check to see if PDF is compressed

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 Foxit Quick PDF Library does not currently provide this functionality.

This article refers to a deprecated product. If you are looking for support for Foxit PDF SDK, please click here.

Updated on May 16, 2022

Was this article helpful?
Thanks for your feedback. If you have a comment on how to improve the article, you can write it here: