Does Document APIs support linearized PDF?

Community Beginner ,
Feb 15, 2021 Feb 15, 2021

Copy link to clipboard

Copied

I want to know whether Document APIs support to show linearized PDF on Web page ? If yes, how can I use it ?

Views

139

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Adobe Community Professional , May 04, 2021 May 04, 2021
Update: PDF Embed API now supports linearized PDF. See documentation here.

Likes

Translate

Translate
Adobe Community Professional ,
Feb 15, 2021 Feb 15, 2021

Copy link to clipboard

Copied

Are you referring to Adobe Embed API? And what do you mean by support? Do you mean simply display linearized PDF or actually do a page at a time download?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 15, 2021 Feb 15, 2021

Copy link to clipboard

Copied

Yes I am talking about Embed API. I mean displaying linearized PDF on web page. Currently I need to download full PDF before display first page of PDF. Can I display first page of PDF and continue to download other page so that we have other page of PDF till user read first page.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Feb 17, 2021 Feb 17, 2021

Copy link to clipboard

Copied

At this time, Embed API does not support byte streaming which is what you'd need to do page at a time download.

The full PDF needs to be downloaded. However, I have a CodePen here that shows how to postpone the display of the viewer until the first page is rendered. That way, you can have your own loading screen and the viewer isn't sitting there looking like nothing is happening.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 04, 2021 May 04, 2021

Copy link to clipboard

Copied

LATEST

Update: PDF Embed API now supports linearized PDF. See documentation here.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines