Is there any way through which we can check file is linearized or not

Product: Web viewer

Product Version:11.7.1

Please give a brief summary of your issue:
Is there any way through which we can check file is linearized or not

Please describe your issue and provide steps to reproduce it:
Is there any way through which we can check file is linearized or not.

Please provide a link to a minimal sample where the issue is reproducible:

Hello, I’m AiRon, an automated tech support bot :robot:
While you wait for one of our customer support representatives, I can help you with your question.


To determine if a PDF is linearized (also known as “web-optimized” or “fast web view”), you generally need to inspect the PDF’s structure. A linearized PDF allows for efficient incremental loading of the document, which means it can be displayed in a web viewer before the entire file is downloaded.

Some things you can try:

  • Use a PDF library that can inspect the internal structure of the PDF to detect linearization.

  • Look for specific markers in the PDF header that indicate linearization, such as the presence of “Linearized” in the first few lines.

  • Implement a method to read the PDF’s bytes and parse the header for linearization information.



Here are some resources that might help you:


Hopefully, this helps you solve your problem while you wait for a human to get back to you.

Hi Rishumishra,

There is an API that will allow you to check, but it has some requirements:

Let us know if that works for you.

Best Regards,
Mickaël.