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

- Text in Div (fonts replaced or converted)
- Text selectable
- Shapes and shading on canvas
|
OutputDisplay.TEXT_AS_SHAPES

- Text as shapes on canvas in HTML5, as shape in SVG
- No font files
- Shapes and shading on canvas
|
| |
|
OutputDisplay.INVISIBLE_TEXT_ON_IMAGE

- Whole page as image for exact match
- Invisible text as div to allow selection/copy
|
OutputDisplay.VISIBLE_TEXT_ON_IMAGE

- 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