diff --git a/src/item/Raster.js b/src/item/Raster.js index 4e8fb5d2..57961a1f 100644 --- a/src/item/Raster.js +++ b/src/item/Raster.js @@ -496,7 +496,7 @@ var Raster = Item.extend(/** @lends Raster# */{ return src; /*#*/ } var canvas = this.getCanvas(); - return canvas ? canvas.toDataURL() : null; + return canvas ? canvas.toDataURL.apply(canvas, arguments) : null; }, /**