Link
Skip to main content

Can BuildVu output a single file?

BuildVu does not have a setting which can generate a single output file, but there are settings that allow you to generate only one .html (or .svg) file per page by embedding external assets (such as fonts and images) as Base64.

These configuration options are as follows:

If you are using BuildVu’s Content mode then the generated content is designed to be easy for you to post-process. Post-processing could include merging pages into a single file if that is your requirement.

Where possible we recommend against embedding fonts as Base64 because it prevents BuildVu sharing font between pages, thereby increasing the converted file size and making the document slower to load.

It is also important to consider performance when embedding all pages into a single file. PDF files are designed to be random access, allowing PDF readers to display individual pages without needing to load the entire document.

On the other hand, web browsers parse and render the whole HTML document on load. This means that if all pages are included in a single file, then documents that are complex or have a large number of pages can be slow to load and may even hang or crash the web browser (particularly on mobile devices).

That is why our recommendation is to load individual pages dynamically on an on-demand basis, which is how the IDRViewer works.


Get started with BuildVu in 3 steps

  1. Fill in the form to download the trial jar →
  2. Copy the code snippets as instructed on the next page
  3. Build your solution using our docs

Learn more about BuildVu

Start Your Free Trial

Trial License Type