PDF to HTML5 Conversion Examples

download-pdf2html5-converter

[Click to edit the title]

Help & Code Samples

Keep updated on changes with our RSS feed

[Click to edit the title]

Related Blog Posts

Series of articles on PDF2HTML conversion

There are different ways to convert a PDF file into HTML5. This tables shows the 4 different ways, and gives the key features of each method. The exact method to use is set when you decode and you can see sample code here.

 

 

 Click on each image below to open the HTML5 version of this mode

 

OutputDisplay.TEXT_AS_TEXT

awjune2003 PDF p4

  • Text in Div (fonts replaced or converted)
  • Text selectable
  • Shapes and shading on canvas

OutputDisplay.TEXT_AS_SHAPES

awjune2003 PDF p4

  • Text as shapes on canvas in HTML5, as shape in SVG
  • No font files
  • Shapes and shading on canvas
 

OutputDisplay.INVISIBLE_TEXT_ON_IMAGE

awjune2003 PDF p4

  • Whole page as image for exact match
  • Invisible text as div to allow selection/copy

OutputDisplay.VISIBLE_TEXT_ON_IMAGE

awjune2003 PDF p4

  • Images/shapes as single image for exact match
  • Text as div to allow selection/copy and use fonts

 

There is also an option to convert to SVG