Link

Can BuildVu convert files in memory?

Yes. The PDF to SVG and PDF to HTML converters can both accept a PDF file as a byte[] or an InputStream when running from Java.

//SVG with byte[]
PDFtoSVGConverter converter = new PDFtoSVGConverter(pdfByteArray, outputDir, conversionOptions, viewerOptions);
//SVG with InputStream
PDFtoSVGConverter converter = new PDFtoSVGConverter(pdfInputStream, outputDir, conversionOptions, viewerOptions);

//HTML with byte[]
PDFtoHTML5Converter converter = new PDFtoHTML5Converter(pdfByteArray, outputDir, conversionOptions, viewerOptions);
//HTML with InputStream
PDFtoHTML5Converter converter = new PDFtoHTML5Converter(pdfInputStream, outputDir, conversionOptions, viewerOptions);

Output can then be configured to stream to memory.

Have more questions? Ask us on Discord