Skip to main content
Known Participant
November 24, 2020
Answered

Adobe PDF Embeded API Render Failure

  • November 24, 2020
  • 1 reply
  • 1237 views

Hi, 

 

I encountered this weird rendering issue regarding PDF Embed API 

This is the desktop Adobe Acrobat Pro DC rendering result.

Below is what happens using PDF Embed API. The shadow effect is not rendered correctly.

Below is what happens after zoom in. Some pictures and text are hidden. 

 

PDF used

 

This topic has been closed for replies.
Correct answer Joel Geraci

It looks to me like the file uses blend modes that are not currently supported by Embed API. Because of HTML5 and browser limitations, the full Adobe Color Engine (ACE) isn't present in Embed API. There will be cases where certain transparency modes and output intents won't display properly when they work fine in Acrobat. Acrobat can be used to "flatten" the image areas implifying it so that Embed API will work.

1 reply

Joel Geraci
Community Expert
Joel GeraciCommunity ExpertCorrect answer
Community Expert
November 24, 2020

It looks to me like the file uses blend modes that are not currently supported by Embed API. Because of HTML5 and browser limitations, the full Adobe Color Engine (ACE) isn't present in Embed API. There will be cases where certain transparency modes and output intents won't display properly when they work fine in Acrobat. Acrobat can be used to "flatten" the image areas implifying it so that Embed API will work.

tangyunAuthor
Known Participant
November 25, 2020

Hi Joel, 

 

Thank you for your reply. 

 

If this is a limitation to HTML 5 and browser, do you mean that currently there is no way to resolve this and it's likely persists for a long time until maybe HTML6 or new browser standards comes out? 

 

thank you. 

 

Joel Geraci
Community Expert
Community Expert
November 25, 2020

Currently, there is no way to resolve the issue for Embed API without modifying the PDF. It uses some features of PDF that are not currently able to be displayed in browsers using our current set of web technologies.

If you have Adobe Acrobat Pro, you can use the Preflight tools to flatten the PDF.