I am trying to build a canvas, specifically a family tree, that is very wide and may have many images. If I build the tree without images, the width can span out to 27,000 px and the file size hits 1.7mb. If I build the tree with images for every node the width can span out to 16,385px and the file size hits 2.7mb. I am creating a custom window size based on the canvas element to override the browsers limitations, as specified here: http://html2canvas.hertzen.com/faq . I have also set the scale to 1 (the default).
The issue is if I go over these widths some of the nodes may render blank on Chrome and Firefox, and on IE the canvas gets cut off.
The question comes down to is there some sort of limitation to the amount of data html2canvas can write? Is there a limitation to the width even after the browser limitations are overwritten?
Specifications:
html2canvas version tested with: html2canvas 1.0.0-alpha.12
Browser & version: Chrome Version 78.0.3904.70 (Official Build) (64-bit) , IE-11 Version: 11.805.17763.0, Firefox Quantum: Version 70.0.1 (64-bit)
Operating system: Windows 10