In fabrics JS after stage.loadFromJSON is loaded <p>I have fabrics JS canvas which is loaded from json, like:</p> <pre><code> stage.loadFromJSON( _templateData, stage.renderAll.bind(stage), function( _object, _klass ) { if( _object.type == 'image' ){ _klass.set({ id: 'bgImage'+_get_dynamicOriginalLayerCount(stage), centeredRotation: true, }); _klass.on( 'mousedown', function(){ _destroyOptions(); } ); } else { _klass.id = 'layer'+_get_dynamicOriginalLayerCount(stage); _textStyleMenu( _klass ); _textListener( _klass ); _klass.set({ borderColor: 'rgba(52, 152, 219, .5)', cornerColor: 'rgba(42, 142, 209, .5)', cornerSize: 55, transparentCorners: false }); } } ); html2canvas(original_target, { onrendered: function(original_canvas) { var data = original_canvas.toDataURL(); </code></pre> <p>and I need to read image using html2canvas function. In case if loaded image is big, 5-10 mb, it takes some time(seconds) and toDataURL return very few of data. If there is a way to get event after image is reaaly loaded?</p> <p>I read here <a href="http://fabricjs.com/docs/fabric.Canvas.html" rel="nofollow">http://fabricjs.com/docs/fabric.Canvas.html</a> but did not find how to salve it? fabric 1.5.0.</p>