Canvas is blank in case of large table data

Author: nikhilgoudCreated Aug 8, 2017Updated Mar 19, 2026

Use case: description, code

I'm trying to generate png of an HTML table node, if the table is large then data-Url is empty. I tried to set fixed width and height, still facing the same issue, I attached a fiddle with one of the scenarios. I have to use the same plugin for generating images of SVG and other elements

Am I missing any, Are there any API related changes or any other library that I could use https://jsfiddle.net/da2zwf3w/

Expected behavior

Actual behavior (stack traces, console logs etc)

no console error

Library version

latest, jquery-3.2.1

Browsers

  • Chrome 49+
  • Firefox 45+