Link
Skip to main content

Can BuildVu convert files in memory?

Partially. BuildVu can accept a PDF as a byte[] or InputStream instead of a file path, and output can be streamed to memory — but temporary files may still be written to disk during conversion.

Pass a byte[] or InputStream as the first argument when running BuildVu from Java:

// SVG conversion — byte array input
PDFtoSVGConverter converter = new PDFtoSVGConverter(pdfByteArray, outputDir, conversionOptions, viewerOptions);

// SVG conversion — InputStream input
PDFtoSVGConverter converter = new PDFtoSVGConverter(pdfInputStream, outputDir, conversionOptions, viewerOptions);

// HTML5 conversion — byte array input
PDFtoHTML5Converter converter = new PDFtoHTML5Converter(pdfByteArray, outputDir, conversionOptions, viewerOptions);

// HTML5 conversion — InputStream input
PDFtoHTML5Converter converter = new PDFtoHTML5Converter(pdfInputStream, outputDir, conversionOptions, viewerOptions);

Note: If writing temporary files to disk is a concern for your environment, you can enable encryptTempFiles to encrypt them.


What's included in your BuildVu trial?

  • Access to download the SDK and run it locally.
  • Access to the cloud trial to convert documents in the IDR cloud.
  • Access to the Docker image to set up your own trial server in the cloud.
  • Communicate with IDR developers to ask questions & get expert advice.
  • Plenty of time to experiment and build a proof of concept.
  • Over 100 articles to help you get started and learn about BuildVu.
  • An exceptional PDF to HTML converter that took over 20 years to build!

Learn more about BuildVu

Start Your Free Trial

Trial License Type